Closed
Bug 519018
Opened 16 years ago
Closed 15 years ago
<SCRIPT type='text/javascript'> not working in <NOFRAMES> of <FRAMESET>
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: nbristow, Unassigned)
References
()
Details
(Whiteboard: [CLOSEME 2011-1-1])
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Firefox does'nt appear to execute Javascript in the <NOFRAMES> section of <FRAMESET>
(NB I identified this fault whilst developing my own HTML web code, included in additional details). The Javascript is meant to redirect to another URL if frames aren't supported.
1. I have disabled Frames (browser.frames.enabled;false) in "about:config".
2. Javascript is enabled.
Reproducible: Always
Steps to Reproduce:
1. Disable Frames (browser.frames.enabled;false) in "about:config".
2. Javascript is enabled.
3. HTML doesn't work as expected.
Actual Results:
Firefox displays an empty (white) screen.
Expected Results:
Firefox should display alert box, then redirect using document.location = 'etara.asp?WCI=tplETARA&optnm=processing&optst=presales&PostcodeOrTelephone=gu17%200hd&prns=&prnf=nofm&prfm=nofm';
This works as expected using IE8 8.0.6001.18702CO, Opera 10, Chrome 3.0.195.21 and Safari 4.0.3 (531.9.1).
Firefox does'nt appear to execute Javascript in the <NOFRAMES> section of <FRAMESET>.
(NB I identified this fault whilst developing my own HTML web code). The Javascript is meant to redirect to another page if frames aren't supported.
The HTML source is as follows:
<HTML>
<!-- *** START OF <HTML_HEAD_ELEMENT_ETARA> *** -->
<HEAD>
<LINK href="../content/css/gc2.css" rel="stylesheet" type="text/css" />
<TITLE>eTARA</TITLE>
<!-- ProcessingFrameOptionValue:fmst -->
<!-- SessionProcessingNoFrame: -->
<!-- SessionProcessingNoJavascript: -->
<!-- *** START OF <HTML_HEAD_FRAMESET_PROCESSING_JAVASCRIPT> *** -->
<SCRIPT type="text/javascript">
<!-- //Start HTML Comment
function show_requesting(pIsShowRequesting)
{
try
{
var framesetShim = document.getElementById( "framesetProcessing" );
if ( ( framesetShim != undefined ) && ( framesetShim != null ) )
{
switch(pIsShowRequesting)
{
case false:
var requestingRows = '0';
var processingRows = '*';
break;
case true:
var requestingRows = '*';
var processingRows = '0';
break;
default:
var requestingRows = '';
var processingRows = '';
}
if ( requestingRows != '' )
{
var topRows = '28%';
framesetShim.setAttribute( 'rows', topRows + ',' + requestingRows + ',' + processingRows + ';' );
framesetShim.rows = topRows + ',' + requestingRows + ',' + processingRows;
}
}
}
catch(er)
{
alert(er);
}
}
function frameset_loaded()
{
try
{
show_requesting(false);
}
catch(er)
{
alert(er);
}
}
//End HTML Comment -->
</SCRIPT>
<!-- *** END OF <HTML_HEAD_FRAMESET_PROCESSING_JAVASCRIPT> *** -->
</HEAD>
<!-- *** END OF <HTML_HEAD_ELEMENT_ETARA> *** -->
<!-- *** START OF <HTML_FRAMESET_PROCESSING> *** -->
<FRAMESET
id="framesetProcessing"
rows="28%,*,0"
border="0"
frameborder="0"
onload="javascript:frameset_loaded();"
>
<FRAME
id="topFrame"
src="etara.asp?WCI=tplETARA&optnm=presales&bdysct=top"
scrolling="no"
noresize
/>
<FRAME
id="requestFrame"
src="etara.asp?WCI=tplETARA&optnm=processing&optst=presales&prnf=&prns=&PostcodeOrTelephone=gu17%200hd&prfm=req&bdysct=content"
scrolling="no"
noresize
/>
<FRAME
id="etaraFrame"
src="http://localhost/et/etara_/etara_.asp?WCI=tplETARA_&optnm=presales&prnf=&prns=&PostcodeOrTelephone=gu17%200hd&bdysct="
scrolling="auto"
noresize
/>
<NOFRAMES>
<SCRIPT type='text/javascript'>
alert('etara.asp?WCI=tplETARA&optnm=processing&optst=presales&PostcodeOrTelephone=gu17%200hd&prns=&prnf=nofm&prfm=nofm'); parent.document.location = 'etara.asp?WCI=tplETARA&optnm=processing&optst=presales&PostcodeOrTelephone=gu17%200hd&prns=&prnf=nofm&prfm=nofm';
</SCRIPT>
<NOSCRIPT>
<!-- *** START OF <HTML_BODY_ELEMENT_ETARA> *** -->
<BODY >
<FORM
name="eTARAform"
id="eTARAform"
action='etara.asp?WCI=tplETARA&optnm=processing&optst=presales&prfm=fmst&prnf=&prns=&PostcodeOrTelephone=gu17%200hd' target='_top'
method="POST">
<a name='topofpage'></a>
<!-- START TABLE "ETARA" -->
<TABLE width="779" border="0" cellpadding="0" cellspacing="0">
<!-- processing: <TABLE width="100%" border="0" cellpadding="4" cellspacing="4"> -->
<!-- *** START OF <HTML_BODY_ETARA_TABLE_HEADER> *** -->
<tr>
<td>
<!-- START TABLE "HEADER" -->
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="60%" valign="middle">
<a href="http://www.globalcrossing.com">
<img src="../content/images/GC_logo.jpg" alt="logo" border="0" />
</a>
</td>
<td width="40%" align="right" valign="top">
<img src='../content/images/spacer.gif' height='50' alt='spacer' />
<a href='etara.asp?WCI=tplETARA&optnm=home' target='_top'>Home</a>
|
<a href='etara.asp?WCI=tplETARA&optnm=Search' target='_top'>Search</a>
|
<a href='etara.asp?WCI=tplETARA&optnm=Logon' target='_top'>Logon</a>
<img src='../content/images/spacer.gif' width='10' alt='spacer' /><BR><img src='../content/images/spacer.gif' width='1' height='23' alt='spacer' />
</td>
</tr>
</TABLE>
<!-- END TABLE "HEADER" -->
</td>
</tr>
<!-- *** END OF <HTML_BODY_ETARA_TABLE_HEADER> *** -->
<!-- *** START OF <HTML_BODY_ETARA_TABLE_MAIN> *** -->
<tr>
<td>
<!-- START TABLE "MAIN" -->
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<!-- *** START OF <HTML_BODY_MAIN_TABLEROW_CONTENT> *** -->
<td valign="top">
<!-- START TABLE "CONTENT" -->
<TABLE border="0" cellpadding="0" cellspacing="0">
<!-- *** START OF <HTML_BODY_CONTENT_TABLE_BANNER> *** -->
<tr>
<td align="right" valign="top">
<!-- START TABLE "BANNER_TEXT" -->
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td bgcolor="#DEE1DF"><img src="../content/images/spacer.gif" width="5" height="25" /></td>
<td bgcolor="#DEE1DF"> </td>
<td bgcolor="#DEE1DF" width="55%"> </td>
<td bgcolor="#DEE1DF"><img src="../content/images/spacer.gif" width="1" height="25" /></td>
<td align="right" bgcolor="#DEE1DF">
<script type='text/javascript'>
var d=new Date()
var weekday=new Array(7)
weekday[0]='Sunday'
weekday[1]='Monday'
weekday[2]='Tuesday'
weekday[3]='Wednesday'
weekday[4]='Thursday'
weekday[5]='Friday'
weekday[6]='Saturday'
document.write(weekday[d.getDay()])
var Day = d.getDate()
var Month = d.getMonth() + 1
var Year = d.getFullYear()
document.write (Year + '-' + Month + '-' + Day)
</script>
</td>
<td bgcolor="#DEE1DF"><img src="../content/images/spacer.gif" width="1" height="25" /></td>
</tr>
</TABLE>
<!-- END TABLE "BANNER_TEXT" -->
</td>
</tr>
<tr>
<td align="right" valign="top" width="100%" colspan="7">
<TABLE width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td align='right'><img src='../content/images/banners/presales_left.jpg' alt='eTARA Pre-sales Qualification' /></td>
<td align='right'><img src='../content/images/banners/blank_middle.jpg'></td>
<td align='right'><img src='../content/images/banners/eTARA_right.jpg'></td></td>
</tr>
</TABLE>
</td>
</tr>
<!-- *** END OF <HTML_BODY_CONTENT_TABLE_BANNER> *** -->
<!-- *** START OF <HTML_BODY_CONTENT_TABLE_DATA> *** -->
<tr>
<td>
<!-- START TABLE "DATA" -->
<TABLE width="100%" border="0" cellpadding="4" cellspacing="4">
<tr>
<td width="100%" align="left" valign="top" id="dataTable">
<p>
<a href = 'etara.asp?WCI=tplETARA&optnm=processing&optst=presales&PostcodeOrTelephone=gu17%200hd&prns=&prnf=nofm&prfm=nofm'>
No Frame
</a>
</p>
</td>
</tr>
</TABLE>
<!-- END TABLE "DATA" -->
</td>
</tr>
<!-- *** END OF <HTML_BODY_CONTENT_TABLE_DATA> *** -->
</TABLE>
<!-- END TABLE "CONTENT" -->
</td>
<!-- *** END OF <HTML_BODY_MAIN_TABLEROW_CONTENT> *** -->
</tr>
</TABLE>
<!-- END TABLE "MAIN" -->
</td>
</tr>
<!-- *** END OF <HTML_BODY_ETARA_TABLE_MAIN> *** -->
<!-- *** START OF <HTML_BODY_ETARA_TABLE_FOOTER> *** -->
<tr>
<td bgcolor="#DEE1DF" colspan="6">
<img src="../content/images/spacer.gif" width="1" height="1" />
</td>
</tr>
<tr>
<td align="right" bgcolor="#DEE1DF" colspan="6">
<p class="footer">
© 2009 Global Crossing UK. All Rights Reserved
| <a href='etara.asp?WCI=tplETARA&optnm=Terms'>Terms of Use</a>
| <a href='etara.asp?WCI=tplETARA&optnm=Privacy'>Privacy</a>
<img src='../content/images/spacer.gif' width='5' height='1' alt='spacer'>
</p>
</td>
</tr>
<!-- *** END OF <HTML_BODY_ETARA_TABLE_FOOTER> *** -->
</TABLE>
<!-- END TABLE "ETARA" -->
</FORM>
</BODY>
<!-- *** END OF <HTML_BODY_ELEMENT_ETARA> *** -->
</NOSCRIPT>
</NOFRAMES>
</FRAMESET>
<!-- *** END OF <HTML_FRAMESET_PROCESSING> *** -->
</HTML>
Comment 1•15 years ago
|
||
Reporter, are you still seeing this issue with Firefox 3.6.12 or later in safe mode? If not, please close. These links can help you in your testing.
http://support.mozilla.com/kb/Safe+Mode
http://support.mozilla.com/kb/Managing+profiles
Also, please consider using the most recent Firefox 4 beta build, your bug may be resolved there.
Whiteboard: [CLOSEME 2011-1-1]
Comment 2•15 years ago
|
||
No reply, INCOMPLETE. Please retest with Firefox 3.6.13 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•