DebugBar Forums
 
 HOME 
 DOWNLOAD 
 BUY 
 DOC / WIKI 
 FORUM 
 CONTACT 
Stay tuned : rss feed

Forum Home


advanced search


You are not logged in.

Announcement

When reporting a problem or a bug :
* Provide your OS version (INCLUDING service pack) and installed IE version.
* Provide your IETester version
* Provide the IE Tab version opened to generate the problem
* Provide a test case with a sample url or sample code to reproduce the problem
* Provide a step by step explanation on how to reproduce the problem.
* If needed provide additional information.

Thanks.

#1 2009-04-01 02:03:41

Kral
New member
Registered: 2009-02-15
Posts: 5

Opening a new window - problems

In IE8 and 7 using JS to open a new window causes an immediate crash in that Vista reports 'program stopped working'.

In IE6 5.5 the JS engine inside IETester reports a JS error on the write new window line but the window is opened.


Operating under Vista Home premium.

Last edited by Kral (2009-04-01 02:04:33)

Offline

 

#2 2009-04-01 08:04:57

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1196
Website

Re: Opening a new window - problems

Can you give a sample url where I can reproduce the problem ?

Thanks.

Offline

 

#3 2009-04-01 17:44:53

Kral
New member
Registered: 2009-02-15
Posts: 5

Re: Opening a new window - problems

Here a program that will illustrate the problem.

The behavior of IETester is not totally consistent except that this works in standalone IE7 and in FF, Opera, Safrai(win) and Chrome.  None of the IETester versions open a new window -- the exact expression of the fault(s)  varies with the version and the page containing the new window request.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head>
<title>Write  new window</title>
<meta name="title" content="new window test">
<meta http-equiv="Content-Type" content="text/html; charset=uft-8">

<script type="text/javascript">
function wwwopen() {
window1=window.open("","window1")
window1.document.write("new window")
window1.document.close()  }
--></script>

</head>
<body><p><button onclick="wwwopen()">Open New Window</button></p></body>
</html>

Offline

 

#4 2009-04-01 17:58:20

fabrice
DebugBar Support
From: San Francisco, CA, USA
Registered: 2007-11-08
Posts: 1196
Website

Re: Opening a new window - problems

Under IETester window.open does not return the newly created window so far and returns null.
That's why it is not working.

This will be corrected in a future IETester version.

Offline

 

#5 2009-04-02 00:54:37

Kral
New member
Registered: 2009-02-15
Posts: 5

Re: Opening a new window - problems

You are moving along nice -- once a problem is well defined it can be dealt with.

Thanks.

Offline

 

Partners : Debugbar | Mobilier de bureau | Debugbar Wiki | IEForge | Lampes design | La fourmi créative