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

Forum Home


advanced search

You are not logged in.

Announcement

Forums are now closed as we moved them to google groups. You can use the following Google Groups to discuss about DebugBar and IETester products:

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

Kral
New member

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 00:04:33)

Offline

 

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

fabrice
DebugBar Support

Re: Opening a new window - problems

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

Thanks.

Offline

 

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

Kral
New member

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 15:58:20

fabrice
DebugBar Support

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-01 22:54:37

Kral
New member

Re: Opening a new window - problems

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

Thanks.

Offline