Closed
Bug 174446
Opened 23 years ago
Closed 23 years ago
window.moveBy (x, y) kills mozilla
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
VERIFIED
WORKSFORME
People
(Reporter: squeakman2k1, Assigned: jst)
Details
(Keywords: crash, stackwanted, testcase)
Attachments
(1 file)
|
754 bytes,
text/html
|
Details |
the following code kills mozilla :( someone could put this on a page and kill
mozilla at will :( (at least for my version of the browser).
I've tried to comment it out so it doesn't hurt anybody. (But any sane person
should have all of these javascript goodies turned off anyway, right.)
<!--
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Rancid Red Meat</title>
<script language="Javascript">
// i intentionally left out the html comment that normally prefaces scripts
// because all of this is commented out anyway.
function shake ()
{
for (i = 0; i < 20; i++)
{
window.moveBy (30, 0);
window.moveBy (0, -30);
window.moveBy (30, 0);
window.moveBy (0, 30);
}
}
</script>
</head>
<body onload="shake ()">
<center>
<h1>WELCOME to <a href="http://www.geocities.com/rancidredmeat">RANCID RED
MEAT</a></h1>
<h1>RANCID RED MEAT RANCID RED MEAT ... OK, You get the picture :)</h1>
</center>
</body>
</html>
-->
Comment 1•23 years ago
|
||
Browser, not engine ---> DOM Level 0.
I cannot confirm this on WinNT with Mozilla trunk binary 20021014xx.
The testcase loads just fine for me!
squeakman2k1@yahoo.com:
1. What build of Mozilla are you using? Please include that
in any bug report; thanks -
2. What happens if you run under a brand-new Mozilla profile?
Do you still see the bug? Just use the Mozilla Profile Manager
and click on the "Create Profile" button. Note you can force
the Profile Manager to come up by launching Mozilla from a
command prompt like this:
[(path to Mozilla)]./mozilla -profilemanager
Assignee: rogerl → jst
Component: JavaScript Engine → DOM Level 0
QA Contact: pschwartau → desale
Comment 2•23 years ago
|
||
worksforme with linux trunk build 20021014
Comment 3•23 years ago
|
||
WFM 2002101208/trunk/W2K
Comment 4•23 years ago
|
||
wfm using Phoenix 20021013 on Win2k.
| Reporter | ||
Comment 5•23 years ago
|
||
There's a bug in my javascript anyway. The window's supposed to move in a square
motion and I left off a minus sign, but that's beside the point. The reason I
think it crashed was because my window moved off of the viewable area of the
screen and then mozilla died. I can't answer questions about the build now
because it happened at work on NT. I believe it is 1.0.1 though, but I'd have to
go to work to make sure.
Comment 6•23 years ago
|
||
do you crash using latest nightly build ?
http://ftp.mozilla.org/pub/mozilla/nightly/latest
If so, please post Talkback ID for this crash "mozilla/bin/components/talkback.exe"
Keywords: stackwanted
Comment 7•23 years ago
|
||
testcase WFM with 2002122908/trunk/win2k.
no response from reporter for >30 days. resolving WORKSFORME.
reporter: if you can reproduce this with a recent build of mozilla, please
reopen this bug and give details. thanks.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•