Closed
Bug 1797
Opened 26 years ago
Closed 26 years ago
GPF -- on javascript redirect (window.location)
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
WORKSFORME
M3
People
(Reporter: object01, Assigned: vidur)
References
()
Details
Important Specs:
P233MMX
256MB RAM
276MB free HD space
Using direct connection to the net via GA Tech's Tx line
Using the 12-7 build (cannot get about: to work!)
Tried visiting my personal home page (URL included), and Mozilla crashed. My
page is heavy on Javascript, including some redirection based on browser type,
so that might have been the cause. GPF output below:
**********************************************************************
Date 12/07/1998 Time 17:56
XPVIEWER caused an invalid page fault in
module RAPTORHTML.DLL at 0217:01198c2f.
Registers:
EAX=00000000 CS=0217 EIP=01198c2f EFLGS=00010246
EBX=0080c094 SS=021f ESP=0080bf8c EBP=0080c050
ECX=011fa3a0 DS=021f ESI=009b7b34 FS=1ab7
EDX=0080bff0 ES=021f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 08 ff 51 30 8b 03 83 e0 08 84 c0 74 0f 8b 06
Stack dump:
00000000 0080c094 009b7b34 0080c190 009f9ce0 10006568 00000000 00000000 00000000
78040000 0080c024 780013cf 00000009 0080c018 7803d178 780040dc
**********************************************************************
Date 12/07/1998 Time 18:15
XPVIEWER caused an invalid page fault in
module RAPTORHTML.DLL at 0217:01198c2f.
Registers:
EAX=00000000 CS=0217 EIP=01198c2f EFLGS=00010246
EBX=0080c094 SS=021f ESP=0080bf8c EBP=0080c050
ECX=011fa3a0 DS=021f ESI=009b6e04 FS=299f
EDX=0080bff0 ES=021f EDI=00000000 GS=0000
Bytes at CS:EIP:
8b 08 ff 51 30 8b 03 83 e0 08 84 c0 74 0f 8b 06
Stack dump:
00000000 0080c094 009b6e04 0080c190 009f5cb0 10006568 00000000 00000000 00000000
78040000 0080c024 780013cf 00000009 0080c018 7803d178 780040dc
Comment 1•26 years ago
|
||
batch-reassigning all Garrett Blythe bugs to Don Melton
Re-assigned to law@netscape.com.
Bill, is this still a valid bug in the brave new world?
Updated•26 years ago
|
Summary: GPF → GPF -- on javascript redirect (window.location)
Comment 3•26 years ago
|
||
(changed summary) (tested on Nightly Jan 5 non-debug build Win 95)
This simple test case reproduces the crash. (derived from the submitted URL).
------------------------------
<HTML><HEAD>
<SCRIPT><!--
window.location="whatever.html";
//--></SCRIPT>
</HEAD><BODY>
<!-- if this next line is *not* an IMG (e.g. some simple text like
<P>hello</P>) then this does not crash.
So ... networking related?? (on the aborted GET and redirect) -->
<IMG SRC="http://www.mozilla.org/newlayout/testcases/mozilla_bungee.gif">
</BODY></HTML>
------------------------------
Comment 4•26 years ago
|
||
I note now that this crash is discussed in #563 and #940 and are 'RESOLVED' and
'VERIFIED FIXED' respectively. I tried the alternate syntax there, and ... my
box crashes the same as the test case.
xpviewer is dead. I'll look into whether viewer.exe currently exhibits the same
behavior.
Comment 8•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Comment 10•26 years ago
|
||
Re-assigned to vidur@netscape.com and changed component to DOM Level 0.
Assignee: law → vidur
Status: ASSIGNED → NEW
Component: JavaScript → DOM Level 0
Comment 11•26 years ago
|
||
QA contact re-assigned according to the product areas we're currently working
on.
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Assignee | ||
Comment 12•26 years ago
|
||
The original page must have changed, since I see nothing about redirects there.
The derived test case (from 3jrgm@qlink.queensu.ca) seems to work OK today.
Comment 13•26 years ago
|
||
I visited the page but seems, they changed the code since I do not see any heavy
javascript code. Though I created some redirection code base on browser type.
With this code Mozilla is not crashing, but Redirection is not working. So there
is no crashing but since redirection is not working I'll enter new bug for that.
This bug is verified.
Code I tested.
<html>
<head>
<title>Test Page</title>
</head>
<SCRIPT LANGUAGE="JavaScript1.1">
function init(){
if (navigator.appName == "Netscape") {
window.location.href="http://home.netscape.com/"
}else{
window.location.href="http://www.microsoft.com"
}
}
</SCRIPT>
<body onLoad="init()">
<FORM NAME="workform" >
</form>
</body>
</html>
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•