[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kfm-devel
Subject:    Crash-Test - www.n-tv.de
From:       Vadim Plessky <lucy-ples () mtu-net ! ru>
Date:       2001-10-25 21:35:19
[Download RAW message or body]

One more "crashtest", this one is stripped from
http://www.n-tv.de/content.html

I guess problem again with IFRAME - as I inserted alert() boxes in JS, and no 
alert appears before crash.
I reprodcused crash several times.
-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/

["content_modif-crashtest.html" (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0031)http://www.n-tv.de/content.html -->
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type>
<LINK href="content_files/default.css" rel=stylesheet type=text/css>

<SCRIPT language=JavaScript>
<!--
function init(){

	alert("ie: " + parent.ie + "\nn6: " + parent.n6);

	var url;
	var param_string = parent.cut1(parent.document.location.search);
	if(parent.call_parameters.doc_id){
		url = '/cgi-bin/show_doc.cgi'+parent.document.location.search;
	} else {
		if(parent.document.location.search){
			if(param_string.indexOf("//") == 0){
				url = 'http:'+param_string;
			} else if(param_string.indexOf("/") == 0){
				url = param_string;
			} else {
				url = '/cgi-bin/show_doc.cgi?doc_id=' + param_string + '&tpl_id=n_innen';
			}
		} else {
			url = '/cgi-bin/show_doc.cgi?doc_id=n-tv.de/Nachrichten/Topmeldungen/index&tpl_id=n_innen';
  }
	}

	parent.go_forw(url);
	if(parent.ie || parent.n6){
		f_innen.document.location.replace(url);
		f_navigationsleiste.document.location.replace('/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_default');
  f_headline.document.location.replace('/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_kopf');
  f_subheadline.document.location.replace('/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_unterueberschrift');
  f_doubleclickoben.document.location.replace('/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_topbanners');
  } else {

		parent.parent.layerLoader.pending = false;
		parent.load_layer(document.innen, url);
		parent.load_layer(document.navigationsleiste, \
"/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_default" );
		parent.load_layer(document.doubleclickoben, \
'/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_topbanners');  \
parent.load_layer(document.layheadline, \
'/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_kopf');  \
parent.load_layer(document.laysubheadline, \
'/cgi-bin/show_doc.cgi?doc_id=n-tv.de/n_navigation&tpl_id=n_unterueberschrift');  \
document.origWidth  = innerWidth;  document.origHeight = innerHeight;
	}
}

//
// LAYER RESIZE HACK FUER PC & MAC (Netscape 4.0x)
//

var NN4 = (document.layers) ? true : false;
var isMac = (navigator.userAgent.indexOf('Mac') != -1);
var version = parseFloat(navigator.appVersion);



function bad_reload(url){

  alert("resize " + version + "\ndocument.origWidth: " + document.origWidth + \
"\ninnerWidth: " + innerWidth);

    if(NN4){
        if(document.origWidth  != innerWidth ||
           document.origHeight != innerHeight){
            document.origWidth  = innerWidth;
            document.origHeight = innerHeight;
            // if(version < 4.5){ //
// alert("reloading...");
                document.location.href=url;
            // }
        }
    }
}

// -->
</SCRIPT>

</HEAD>
<!--
   <BODY bgColor=#ffffff onload=init() onresize="bad_reload('content.html')">
  -->
<BODY bgColor=#ffffff>

<DIV class=appletleiste name="appletleiste"></DIV>
<IFRAME class=appletleiste
frameBorder=0 marginHeight=0 marginWidth=0 name=f_appletleiste scrolling=no
src="content_files/show_doc.htm"></IFRAME>

<!--  why it included C:\HTML\_bad_sites\n-tv_de_files\content_files\show_doc(1).htm \
- as absolute path?

</BODY>
</HTML>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic