Closed Bug 296013 Opened 20 years ago Closed 20 years ago

Crashes on JavaScript error after closing jsenv (JavaScript Environment) bookmarklet window.

Categories

(Core :: JavaScript Engine, defect)

1.7 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla.20.fusion, Unassigned)

References

()

Details

(Keywords: crash)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 On the Dinkumware web site, I open a jsenv window and run a script in it. After this, JavaScript errors that occur on the Dinkumware page are reported in the jsenv window. If the jsenv window is then closed, the same errors seem to cause the browser to crash. Reproducible: Always Steps to Reproduce: 1. Install the "jsenv" bookmarklet from http://www.squarefree.com/bookmarklets/webdevel.html 2. Go to http://www.dinkumware.com/ 3. Start the jsenv. A default script is displayed. 4. Run the default script. 5. Move the mouse cursor over the link with the text "Dinkum Proofers". - Note the error messages which appear in the jsenv window. 6. Close the jsenv window. 7. Move the mouse cursor over the link with the text "Dinkum Proofers" again. Actual Results: Firefox crashes. Expected Results: The jsenv window should have closed with no ill effects. Subsequent JavaScript errors should appear in the JavaScript console as usual.
Attached file jsenv bookmarklet text
This is the text of the 'location' field for the version of the jsenv bookmarklet that I'm using pasted into a plain text file.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050527 Firefox/1.0+ No crash on trunk, even after using this bookmarklet to make document.all be an error rather than a warning: javascript:document.all getter = function() { return null; }; void 0
Reproduced crash using Firefox 1.0.4: http://talkback-public.mozilla.org/talkback/fastfind.jsp?search=2&type=iid&id=6260263 The error message that triggers the crash isn't document.all; document.all support was in Firefox 1.0.4 too.
This testcase replaces http://www.dinkumware.com/ in in the steps-to-reproduce in comment 0.
Using the testcase and the jsenv bookmarklet, no crash on trunk.
Component: General → JavaScript Engine
Product: Firefox → Core
Version: unspecified → 1.7 Branch
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
Marking WFM based on comment 4 and comment 5, which confirmed the bug in 1.0.4 but not trunk.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Keywords: crash
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: