If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Writing a form, in a Cellular-phone's company page (with javascript inside too), Mozilla freeze and I have to kill him.

RESOLVED EXPIRED

Status

SeaMonkey
General
RESOLVED EXPIRED
13 years ago
12 years ago

People

(Reporter: fabiano, Unassigned)

Tracking

Trunk
x86
Windows 98

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Win98; it-IT; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Win98; it-IT; rv:1.6) Gecko/20040206 Firefox/0.8 + mozilla 1.6 & 1.7

I am using SMS(free phone small messages)services from TIM page www.tim.it since
a while.
They have recently  changed page shape and the mozilla's family browser cannot
habdle the new page without freezing completely.

Reproducible: Always
Steps to Reproduce:
1.open the page
2.start filling the forms
3.
Actual Results:  
when I start selecting the content of second form...the Browser freeze completely


Expected Results:  
letting me complete the compilation of the form and letting me sendig a cellular
SMS message

I can't give the link of the page(because it is in private area)..
take here the code of the (probabily) dangerous frame:

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta http-equiv="Window-target" content="menu">
   <meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; I) [Netscape]">

<SCRIPT LANGUAGE="JAVASCRIPT"
SRC="/ewsms/template/it_IT-TIM-UM/popupInfo.js"></SCRIPT>

<script language="javascript">
        if (!document.all && !document.getElementById)
	{
		<!-- sto su Netscape -->
		document.write("<link rel='STYLESHEET' type='text/css'
href='/css/i_tim_netscape.css'>");
	}
	else
	{
		<!-- sto su Explorer -->
		document.write("<link rel='STYLESHEET' type='text/css' href='/css/i_tim.css'>");
    	}
</script>

<SCRIPT LANGUAGE="JAVASCRIPT"
SRC="/ewsms/template/it_IT-TIM-UM/invioSMS.js"></SCRIPT>


<script language="javascript">


function openWin (url)
{
    window.open (url,"popDialog_rubrica","height=400,width=580,scrollbars=yes"); 
   // return true;
}

function cleanMitt()
{
	var testoMitt = document.form1.SENDER.value;
	var appo = "";

	for (var i=0; i < testoMitt.length; i++)
	{
	    if (testoMitt.charAt(i) == '\"')
	    {
	       appo += "";
	    }
            else
	    {
	       appo += testoMitt.charAt(i);
	    }
	}
	testoMitt = appo;	
	appo = "";
	for (var i=0; i < testoMitt.length; i++)
	{
	    if (testoMitt.charAt(i) == '\'')
	    {
	       appo += "";
	    }
            else
	    {
	       appo += testoMitt.charAt(i);
	    }
	}
	testoMitt = appo;	
	document.form1.SENDER.value = testoMitt;
    	return true;
}

function CopiaText ()
{
    cleanMitt();
    document.form1.SHORT_MESSAGE.value = document.form1.SHORT_MESSAGE_2.value;
    return true;
}




function salvaBozza ()
{

    cleanMitt();

    document.forms[0].action="/ewsms/jsp/it_IT-TIM-UM/salvaBozza.jsp";
    
    document.forms[0].submit();
    
    return false;

}

function getCookie(special)
{
    var cookieName = (special + "=");
    var i = 0;
    var cookieValue = "";

    while (i < document.cookie.length)
    {
        var j = i + cookieName.length;

        if (document.cookie.substring(i, j) == cookieName)
        {
            cookieValue = getCookieValue(j);
            return cookieValue;
        }

        i = (document.cookie.indexOf(" ", i) + 1);

        if (i == 0)
        {
            break;
        }
    }
    return true;
}

function getCookieValue(offset)
{
    var endString = document.cookie.indexOf (";", offset);
    var theValue = "";

    if (endString == -1)
    {
        endString = document.cookie.length;
    }

    theValue = document.cookie.substring(offset, endString);
    return unescape(theValue);
}

</SCRIPT>

</head>







<script language="javascript">
var smsInviati = 0;
var smsRimasti = 10;


</script>




<!--  File:  invioSMS.html  -->




<!-- INIZIO -->
<body bgcolor=#ffffff leftmargin=0 topmargin=0 marginheight=0 marginwidth=0>



<!-- Tabella con la scitta "SCRIVI SMS GRATIS" -->
<table bgcolor="#ffffff" cellpadding="0" cellspacing="0" border="0" width="605">
  <tr valign="top">

        <td bgcolor="#e6e6e6" height="28" width="5"><img
src="/ewsms/template/it_IT-TIM-UM/images/mmenu_su_sx.gif" height="5"
width="5"><br><img src="/ewsms/template/it_IT-TIM-UM/images/puntoceleste.gif"
height="23" width="1"></td>
        <td bgcolor="#e6e6e6"><img
src="/ewsms/template/it_IT-TIM-UM/images/mmenu_oriz_su.gif" height="5"
width="300"><br>&nbsp;&nbsp;<img
src="/ewsms/template/it_IT-TIM-UM/images/pallone_rosso.gif"
border="0">&nbsp;<img
src="/ewsms/template/it_IT-TIM-UM/images/logo_SMS_Gratis.gif" border="0"></td>
        <td align="right" height="28" width="65"><img
src="/ewsms/template/it_IT-TIM-UM/images/scivolo.gif"></td>
        <td valign="bottom"><img
src="/ewsms/template/it_IT-TIM-UM/images/sfo_01b.gif" height="3" width="230"></td>
        <td valign="bottom"><img
src="/ewsms/template/it_IT-TIM-UM/images/angolo_dx.gif"></td>
  </tr>
</table>
<!-- FINE Tabella con la scitta "SCRIVI SMS GRATIS" -->



<!-- Tabella con la striscia blu ed i pulsanti di invio -->
<table width="600"
background="/ewsms/template/it_IT-TIM-UM/images/fasciablu_sfo.gif"
cellpadding="0" cellspacing="0" border="0">
  <tr>
        <td height="18">
        	&nbsp;
        	<a href="#" onclick="javascript:CopiaText();Invia();">
        	<img src="/ewsms/template/it_IT-TIM-UM/images/nuovo_messaggio.gif"
alt="INVIA" border=0>
        	</a>
        	<font color="white">&nbsp;INVIA&nbsp;</font>

        </td>
  </tr>
  <tr>
        <td>
        	<img src="/ewsms/template/it_IT-TIM-UM/images/puntoceleste.gif"
height="3" width="1"><img src="/ewsms/template/it_IT-TIM-UM/images/sfo_02b.gif"
height="3" width="603"><img
src="/ewsms/template/it_IT-TIM-UM/images/puntoceleste.gif" height="3"
width="1"></td>
  </tr>
</table>
<!-- FINE Tabella con la striscia blu ed i pulsanti di invio -->


<!-- Tabella con tutti i contenuti della pagina (Da:, A:, testo, e bordino
finale) -->
<table cellpadding="0" cellspacing="0" border="0" width="605">
<tr>
    <td bgcolor="#100f84">
        <img src="/ewsms/template/it_IT-TIM-UM/images/punto.gif" width="1"
height="1">
    </td>
    <td valign="top" height="292">



<!-- Tabellina interna -->
<TABLE cellspacing="0" cellpadding="0" border="0">
<TR>

    <TD>


        <table width="600" border="0" cellspacing="0"  align="left">
            <tr>
                <td>

                    <script language="JavaScript">

                    // La variabile parametri contiene i valori di tutti i campi
riempiti nel form dall'utente
                    var parametri = "";

                    var item_codsms = '';
                    var item_stato = '';
                    var item_da = '';
                    var item_a = '';
                    var item_lista = '';
                    //var item_testo = '';
                    var item_testo = '';

                    if (window.location.search.indexOf("&a:") > -1)
                    {
                            parametri = window.location.search;
                            item_a = parametri.substr(parametri.indexOf("&a:") +
3,(parametri.length - parametri.indexOf("&a:") - 3));
                            item_da = parametri.substr(parametri.indexOf("&da:")
+ 4, (parametri.indexOf("&lista:") - parametri.indexOf("&da:") - 4));
                            item_lista =
parametri.substr(parametri.indexOf("&lista:") + 7, (parametri.indexOf("&testo:")
- parametri.indexOf("&lista:") - 7));
                            item_testo =
parametri.substr(parametri.indexOf("&testo:") + 7, (parametri.indexOf("&a:") -
parametri.indexOf("&testo:") - 7));
                    }

                    pre="Martedi ";
                    post="<br>";

                    if(navigator.appName=="Netscape")
                            {
                            today = new Date();
                            document.write(pre + today.getDate(), "/",
today.getMonth()+1, "/", today.getYear()+1900 + post)
                            visualizzaGiornoSettimanaNetscape(); 
                            }
                    else
                            {
                            today = new Date();
                            // document.write(pre + today.getDate(), "/",
today.getMonth()+1, "/", today.getYear() + post)
                            visualizzaGiornoSettimana(); 
                            }

                            document.write("</td></tr><tr><td>");

                    // document.write("Inviati: <b>" + smsInviati + "</b>");

                    // document.write("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rimanenti:
<b>" + smsRimasti + "</b>");
                    document.write("per oggi hai ancora a disposizione <b>" +
smsRimasti + " SMS GRATIS</b>");

                    </SCRIPT>
                    
                </td>
            </tr>

        </table>



    </TD>
</TR>
<TR>
    <TD>



        <TABLE border="0" width="100%">
            <TR>

                <TD width="20%">
                    &nbsp;Da:&nbsp;&nbsp;<b>3388966240</b>&nbsp;
                </TD>
                <TD>
                    <FORM  ACTION="/ewsms/jsp/it_IT-TIM-UM/inviaSms.jsp"
METHOD=POST NAME="form1">

                    <!--
                    <INPUT TYPE="HIDDEN" NAME="CODSMS" VALUE="">
                    <INPUT NAME=DEST_LISTA TYPE=hidden VALUE="">
                    -->

                    <SCRIPT LANGUAGE="Javascript1.2">
                        document.write("<input type=\"HIDDEN\" name=\"CODSMS\" 
VALUE= \"" + item_codsms + "\">");
    
                        document.write("<input valign=\"right\" type=\"text\"
name=\"SENDER\" onkeydown=\"setIsInsertNick(this, SHORT_MESSAGE_2, contatoreSms,
chr)\"  VALUE= \"" + item_da + "\"size=\"60\" MAXLENGTH=25 >");

                    </SCRIPT>

                </TD>
                <TD>
                    <!-- Colonna vuota -->
                </TD>
                <TD>
                    <!-- Colonna vuota -->
                </TD>
            </TR>
            
            <TR> 
                <TD>

                    <a href="javascript:openWin
('/ewsms/jsp/it_IT-TIM-UM/selezionaAddrBook.jsp');"><img
src="/ewsms/template/it_IT-TIM-UM/images/button_A1.gif" border=0></a>
                </TD>
                <TD>

                    <SCRIPT LANGUAGE="Javascript1.2">
                            if (navigator.userAgent &&
navigator.userAgent.indexOf("MSIE")>=0)
                            {       <!-- PER I. E. -->
                                    document.write("<INPUT type=\"text\"
name=\"DEST\" VALUE=\""+unescape("")+"\" size=60>");    
                    //              document.write("<INPUT type=\"text\"
name=\"DEST\" VALUE=\"\" size=60>");    
                            }       
                            else if (!(navigator.appName &&
navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0))
                            {       <!-- PER NETSCAPE -->
                                    document.write("<INPUT type=\"text\"
name=\"DEST\" VALUE=\""+unescape("")+"\" size=40>");
                    //              document.write("<INPUT type=\"text\"
name=\"DEST\" VALUE=\"\" size=40>");
                            }
                    </SCRIPT>

                </TD>
                <TD>
                    <!-- <a href="/ewsms/jsp/it_IT-TIM-UM/selezionaAddrBook.jsp"
target="_new"><img
src="/ewsms/template/it_IT-TIM-UM/images/tasto_apri_rubrica.gif" border=0></a> --> 
                    <!-- COMMENTO 1  <a href="javascript:openWin
('/ewsms/jsp/it_IT-TIM-UM/selezionaAddrBook.jsp');"><img
src="/ewsms/template/it_IT-TIM-UM/images/tasto_apri_rubrica.gif" border=0></a> 
FINE COMMENTO 1 -->

                </TD>
                <TD>
                    <!-- Colonna vuota -->
                </TD>
            </TR>


<input type=hidden name="NOME_LISTA" value=" ">
<input type=hidden name="OTPWD" value=" ">
 <!-- COMMENTO 1 -- (a: Liste) 
            <TR>
                <TD>
                    &nbsp;A:(lista&nbsp;dest.)
                </TD>
                <TD>

                    <SCRIPT LANGUAGE="Javascript1.2">
                            if (navigator.userAgent &&
navigator.userAgent.indexOf("MSIE")>=0)
                            {       -- PER I. E. --
                                    document.write("<input name=\"NOME_LISTA\"
VALUE=\"\" MAXLENGTH=\"2800\" size=60>");     
                            }       
                            else if (!(navigator.appName &&
navigator.appName.indexOf("Netscape")>=0 && navigator.appVersion.indexOf("2.")>=0))
                            {       -- PER NETSCAPE --
                                    document.write("<input name=\"NOME_LISTA\"
VALUE=\"\" MAXLENGTH=\"2800\" size=40>");
                            }

                    if (item_lista != "")
                    {
                            document.form1.NOME_LISTA.options.selectedIndex =
item_lista;
                    }
                    </SCRIPT>

                </TD>
                <TD>
                    <a
href="javascript:openWin('/ewsms/jsp/it_IT-TIM-UM/selezionaLista.jsp');"><img
src="/ewsms/template/it_IT-TIM-UM/images/apri_liste_off.gif" border=0></a>
                </TD>
                <TD>
                    -- Colonna vuota --
                </TD>
            </TR>
 -- FINE COMMENTO 1 -->

            <TR>
               
                <TD colspan="4">
					<table align="right" cellspacing="4" cellpadding="0" border="0" width="100%">
						<tr><td width="50%"></td><td align="right"><b>SMS
Concatenati:</b></td><td><INPUT TYPE="text" NAME="contatoreSms" SIZE="3"
onFocus="this.blur()" value="1/4"></td></tr>
						<tr><td width="50%"></td><td align="right"><b>Caratteri
disponibili:</b></td><td><INPUT TYPE="text" NAME="chr" SIZE="3"
onFocus="this.blur()" value="640"></td></tr>
					</table>												
					
                </TD>
            </TR>

        </TABLE>



    </TD>
</TR>
<TR>
    <TD align="center" valign="middle">


<!-- TEXTAREA -->
                    <SCRIPT LANGUAGE="Javascript1.2">

                        document.writeln("<input type=hidden
name=\"SHORT_MESSAGE\" value=\""+unescape(item_testo)+"\">");
                        //document.write("<textarea rows=\"10\" cols=\"66\"
name=\"SHORT_MESSAGE\" wrap=\"physical\" onKeyUp=\"return caratteri()\">" +
unescape(item_testo) + "</textarea>");
                        document.write("<textarea rows=\"10\" cols=\"66\"
name=\"SHORT_MESSAGE_2\" wrap=\"physical\" onkeydown=\"inseritoCarattere(false,
SENDER, this, contatoreSms, chr)\">" + unescape(item_testo) + "</textarea>");

                    </SCRIPT>

<!-- FINE TEXTAREA -->



    </TD>
</TR>
</FORM>
</TABLE>
<!-- FINE Tabellina interna -->
    
    
    


     </td>
     <td bgcolor="#100f84"><img
src="/ewsms/template/it_IT-TIM-UM/images/punto.gif" width="1" height="1"></td>
  </tr>
  <tr>

     <td bgcolor="#100f84" colspan="3"><img punto.gif width="1" height="1"></td>
  </tr>
</table>
<!-- FINE Tabella con tutti i contenuti della pagina (Da:, A:, testo, e bordino
finale) -->


</form>
</body>
</html>
<!-- FINE -->
(Reporter)

Updated

13 years ago
Summary: When filling the form in javascript windows ( I think it is a javascript issue) , Mozilla freeze and I have to kill him. → javascript window's form ( I think it is a javascript issue) , Mozilla freeze and I have to kill him.
Not a JavaScript Engine bug.  Reporter, please use Browser-General as the bug's
component if you have no better evidence.

/be
Component: JavaScript Engine → Browser-General
(Reporter)

Comment 2

13 years ago
I have tested this page not only with current browser but also with other
versions on other machines.
We have no evidence of javascript problems,I have decided to attach the overall
page to a general-browser examination.I have tried to erase manually my personal
datas ..I have modified cellphone..
I hope no important infos inside =). 
Summary: javascript window's form ( I think it is a javascript issue) , Mozilla freeze and I have to kill him. → Writing a form, in a Cellular-phone's company page (with javascript inside too), Mozilla freeze and I have to kill him.
Product: Browser → Seamonkey
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.