Closed
Bug 317279
Opened 20 years ago
Closed 20 years ago
When atempting to open a popup window and the Memory usage exceeds 40 MB in Netscape I get a Javascript Exception datacardUtils is not defined.
Categories
(Firefox :: Security, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: rnl, Unassigned)
Details
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50215)
Build Identifier: Mozilla/5.0
I have a page that opens a popup window via javascript.
On the OnLoad event of page, I dynamically set some inputvalues in a hidden form and then submit form via javascript.
The target of the form is to a hidden IFrame.
//Example of simple popUpWindow source
<html>
<script language="Javascript">
function Page_Load(){
//my business logic here.
document.form1.name.value = "someName";
document.form1.type.value = "someType";
document.form1.submit();
}
</script>
<body onload="Javascript:Page_Load();">
<form name="form1" id="form1" action="SomePage.asp" target="TargetFrame">
<input type="hidden" name="name">
<input type="hidden" name="name">
</form>
<iframe ID="TargetFrame" Name="TargetFrame"src="./Empty.htm"></iframe>
</body>
Reproducible: Sometimes
Steps to Reproduce:
1.Open Netscape
2.Click on js link to open popup, close window.
3.Repeat 2 until Memory Usage reaches 40MegaBytes
Actual Results:
Exception... "'[JavaScript Error: "datacardUtils is not defined" {file: "chrome://mozapps/content/autofill/datacardUtils.js" line: 1397}]' when calling method: [nsIObserver::observe]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: http://localhost/wiasp/viewers/rep.wiqt/special/StandardPopUpSelectorFrame.asp?selectorType=DYNAMIC :: Page_Load :: line 88" data: yes]
Expected Results:
Dynamically load the Iframe contents.
Comment 1•20 years ago
|
||
Reporter, which version is this ?
Note that it's Netscape (6 or 7), then you should not log the bug here. This place is for Mozilla bugs.
Netscape Version:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20051012 Netscape/8.0.4 which is based on Firefox.
Comment 3•20 years ago
|
||
Please file netscape bugs to them.
Reopen if you can reproduce this with Firefox 1.5 RC 3 or a trunk build
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•