Closed Bug 43243 Opened 24 years ago Closed 24 years ago

typing javascript:URL in location bar freeze the browser

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 37463

People

(Reporter: czhang, Assigned: rogerl)

Details

load 6/20 build 1. type: javascript:location="http://yahoo.com"; in the location bar, the browser freezes, so do javascript:alert("hi"); javascript:document.write("<h1>hi</h1>"); those things are working well in NS4.7
This looks like a dupe of bug 37463 (see 42965).
*** This bug has been marked as a duplicate of 37463 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
I agree that the lockup caused by javascript:location="http://yahoo.com"; typed into the location bar is a dup of bug 37463. But both javascript:alert("hi"); javascript:document.write("<h1>hi</h1>"); don't cause mozilla to freeze for me on PC/Linux build 2000062020. But I don't get an alert popup either. If there are problems with these last two javascript typeins, then I suggest to reopen this bug (or find an already existing one that covers this). Note that bug 31818 (or one of its dupes) used to cover the problem that javascript: typeins did not work, but that bug has been marked fixed recently. **************************************** shell output for javascript:alert(...) Entry at index 2 is javascript:alert("hi"); JavaScript error: line 0: Document: Done (0.293 secs) Error loading URL javascript:alert("hi"); *************************** shell output for javascript:document.write(...) Entry at index 3 is javascript:document.write("<h1>hi</h1>"); JavaScript error: line 0: JavaScript error: line 0: uncaught exception: [Exception... "Access to property denied" code: "1010" nsresult: "0x805303f2 (NS_ERROR_DOM_PROP_ACCESS_DENIED)" location: "<unknown>"] Document: Done (0.238 secs) Error loading URL javascript:document.write("<h1>hi</h1>"); ******************************************************************************
Verified dupe on the commercial branch 10/25 WinNT build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.