Closed Bug 174446 Opened 23 years ago Closed 23 years ago

window.moveBy (x, y) kills mozilla

Categories

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

x86
Windows NT
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: squeakman2k1, Assigned: jst)

Details

(Keywords: crash, stackwanted, testcase)

Attachments

(1 file)

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> -->
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
Attached file reporter's testcase
worksforme with linux trunk build 20021014
WFM 2002101208/trunk/W2K
Keywords: crash, testcase
Summary: window.moveBy (x, y) kills mozilla :( → window.moveBy (x, y) kills mozilla
wfm using Phoenix 20021013 on Win2k.
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.
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
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
Verified with 2003-04-25-12-1.3.1 on winXP.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: