Closed Bug 11922 Opened 25 years ago Closed 25 years ago

Belongs to bug # 11921. Could not attach files - why ?

Categories

(Core :: XUL, defect, P3)

x86
Windows 95
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: bht237, Assigned: danm.moz)

References

()

Details

<HTML>
<HEAD>
<TITLE>Welcome Page</TITLE>
<SCRIPT>

/*
Basic Netscape-only test script for
- openening new window
- re-entering new window from old window

http://bugzilla.mozilla.org/enter_bug.cgi
bht@actrix.gen.nz

2 files attached

New window opening/re-entry crashes apprunner

Please see attached HTML with script.
For my further testing of our e-commerce client application,
the window handling must be functioning, otherwise I cannot start
the application.
I have reduced the script to the bare minimum.
apprunner crashes on the attempt to switch between windows by using
[Alt+Tab].
In previous more complicated tests I received a message similar to:
"Trying to download file of file type placeholder"
I guess it was related to the fact that the script tries to open a new window
with "" as URL.
Many thanks and good luck!

Bug 11921 posted Email sent to: davidm@netscape.com, cpratt@netscape.com
Excluding: bht@actrix.gen.nz ( change your preferences if you wish not to be
excluded

HTML with script, needs one more file (blank.htm)

*/

//var kWn: The object handle to the child window
var kWn;

function newWin(u,n){
    //var tW: Temporary window handle
    //We must attempt to open a window !_without URL_! to get a handle on an
existing
    //window with the same name (for seamless re-entry)
    var tW=open("",n,"width=*,height=*,status=1,scrollbars=0");
    kWn=tW;
    //How do we test cross-platform that this is an existing window ?
    //This is a bit of a mess :(

if(kWn.document.URL==""||kWn.document.URL=="about:blank"||kWn.location.href.inde
xOf("BLANK")>0){
        kWn.location=u;
    }else{
        //alert("old window");
    }
    kWn.focus();
}//End newWin(..)

</SCRIPT>
</HEAD>
<BODY>
<FORM>
<INPUT type="button" value="Enter new window"
onClick="newWin('blank.htm','test');">
</FORM>
</BODY>
</HTML>


<HTML><BODY BGCOLOR="#330033"></BODY></HTML>
Assignee: davidm → trudelle
Component: HTML Dialogs → XP Toolkit/Widgets
Assignee: trudelle → danm
QA Contact: cpratt → phillip
reassigning to danm as companion to 11921
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
resolving as invalid because its companion bug has been verified invalid.
Status: RESOLVED → VERIFIED
verifying
You need to log in before you can comment on or make changes to this bug.