Closed Bug 203518 Opened 23 years ago Closed 23 years ago

document.write and popup Handler

Categories

(Core :: JavaScript Engine, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 195833

People

(Reporter: maly, Assigned: rogerl)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3) Gecko/20030312 I get the following error when I run the attached testcase. Error: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.hostPort]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://navigator/content/nsBrowserStatusHandler.js :: anonymous :: line 350" data: no] Source File: chrome://navigator/content/nsBrowserStatusHandler.js Line: 350 This is a new bug which appeared in version 1.3. With a little investigating the culprit line is: if (blank || !("popupDomain" in browser) || aLocation.hostPort != browser.popupDomain) { where something goes wrong in the statement: aLocation.hostPort != browser.popupDomain Reproducible: Always Steps to Reproduce: Execute test case Actual Results: get the error above Expected Results: no error
Test case as promised, just click on the button to generate the error.
*** This bug has been marked as a duplicate of 195833 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified Duplicate. Peter: thank you for this report. Thiis bug was fixed on the trunk in March, and should be fixed in current trunk builds (rv: 1.4b). Please reopen if not; thanks -
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: