Javascript in this HTML crashes the Win2K browser

VERIFIED WORKSFORME

Status

()

Core
JavaScript Engine
P3
normal
VERIFIED WORKSFORME
18 years ago
17 years ago

People

(Reporter: Cory Dodt, Assigned: rogerl (gone))

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

18 years ago
This renders Mozilla unusable with PeopleSoft 8.  This renders fine in both
Netscape and IE.  Can't provide a URL - this is generated dynamically.
----------------
<HTML>
<!-- Copyright (c) 2000-2000 PeopleSoft, Inc.  All Rights Reserved. -->
<HEAD>
<meta HTTP-EQUIV='Refresh' CONTENT='1200;
URL=http://CDODTX/servlets/iclientservlet/peoplesoft8/?cmd=expire'>
<TITLE>Process Monitor</TITLE>
<BASE HREF='http://CDODTX/peoplesoft8/cache/images/'>
<LINK REL=STYLESHEET TYPE='TEXT/CSS'
HREF='http://CDODTX/peoplesoft8/cache/CSS/PSSTYLEDEF_ENG_3.css'>
<SCRIPT LANGUAGE='javascript'
SRC='http://CDODTX/peoplesoft8/cache/js/PT_SCRIPTIE500_ENG_main2_3.js'>
</SCRIPT>
<SCRIPT LANGUAGE='javascript'
SRC='http://CDODTX/peoplesoft8/cache/js/PT_PAGESCRIPT_ENG_main2_3.js'>
</SCRIPT>
<SCRIPT LANGUAGE='JavaScript'>
function submitAction_main2(form, name)
{
if (isLoading_main2()) return;
form.ICAction.value=name;
form.ICXPos.value=getScrollX();
form.ICYPos.value=getScrollY();
processing_main2(true);
form.submit();
}
</SCRIPT>
<SCRIPT LANGUAGE='javascript'
SRC='http://CDODTX/peoplesoft8/cache/js/PT_EDITSCRIPT_ENG_main2_2.js'>
</SCRIPT>
</HEAD>
<BODY CLASS='PSPAGE' onKeyDown="lastKey_main2(event);"  onLoad="
setFocus('PMN_FILTER_OPRID',-1);setEventHandlers('ICFirstAnchor_main2',
'ICLastAnchor_main2', false);processing_main2(false);
top.document.title=document.title;
"
 >
<DIV ID="WAIT_main2" STYLE="position:absolute;right:0;">
<IMG ALIGN=RIGHT SRC='PT_PROCESSING_ENG_2.gif' CLASS=PSPROCESSING>
</DIV>
<a name='ICFirstAnchor_main2'></a>
<FORM NAME='main2' METHOD=POST
Action="/servlets/iclientservlet/peoplesoft8/?ICType=Panel&Menu=PROCESSMONITOR&Market=GBL&PanelGroupName=PROCESSMONITOR"
 autocomplete=off>
<INPUT TYPE=hidden NAME=ICType VALUE=Panel>
<INPUT TYPE=hidden NAME=ICElementNum VALUE="0">
<INPUT TYPE=hidden NAME=ICStateNum VALUE="1">
<INPUT TYPE=hidden NAME=ICAction VALUE=None>
<INPUT TYPE=hidden NAME=ICXPos VALUE=0>
<INPUT TYPE=hidden NAME=ICYPos VALUE=0>
<INPUT TYPE=hidden NAME=ICHelpUrl
VALUE="http://helpwebserver/PSBOOKS/ENG/PSBOOKS.HTM#PMN_PRCSLIST">
<INPUT TYPE=hidden NAME=ICFocus VALUE="">
<INPUT TYPE=hidden NAME=ICInfo
VALUE="BROWSER=IE;BROWSERVER=5.01;CLIENTOS=WINNT;TOOLSREL=8.12-C2;APPSREL=Core%208.12.00.000;SERVPACK=0;PAGE=PMN_PRCSLIST;COMPONENT=PROCESSMONITOR;MENU=PROCESSMONITOR;USERID=PTDMO;DBNAME=CDD812C2;DBTYPE=MICROSFT;APPSERV=%2f%2fCDODTX%3a7000;">
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD><IMG SRC='PT_TAB1LAX_ENG_5.gif'></TD>
<TD><IMG SRC='PT_TAB1MAX_ENG_5.GIF' WIDTH=100% HEIGHT=1></TD>
<TD><IMG SRC='PT_TAB1BAI_ENG_5.GIF'></TD>
<TD><IMG SRC='PT_TAB1MIX_ENG_5.GIF' WIDTH=100% HEIGHT=1></TD>
<TD><IMG SRC='PT_TAB1RIX_ENG_5.GIF'></TD>
<TD ROWSPAN=2></TD>
</TR>
<TR>
<TD><IMG SRC='PT_TAB2LAXFFFFFF_ENG_5.gif'></TD>
<TD NOWRAP ALIGN=CENTER CLASS='PSACTIVETAB'>&nbsp;&nbsp;Process
List&nbsp;&nbsp;</TD>
<TD><IMG SRC='PT_TAB2BAIB8B090FFFFFF_ENG_5.gif'></TD>
<TD NOWRAP ALIGN=CENTER CLASS='PSINACTIVETAB'>&nbsp;&nbsp;<A TABINDEX=-1
STYLE='TEXT-DECORATION:NONE; BACKGROUND-COLOR:TRANSPARENT; '
CLASS='PSINACTIVETAB' HREF="javascript: submitAction_main2(document.main2,
'#ICPanel1')" ACCESSKEY='S'><u>S</u>erver List</A>&nbsp;&nbsp;</TD>
<TD><IMG SRC='PT_TAB2RIXB8B090_ENG_5.gif'></TD>
</TR>
<TR>
<TD><IMG SRC='PT_TAB3LAXFFFFFF_ENG_5.GIF'></TD>
<TD CLASS='PSACTIVETAB'></TD>
<TD><IMG SRC='PT_TAB3BAIB8B090FFFFFF_ENG_5.GIF'></TD>
<TD><IMG SRC='PT_TAB3MIXB8B090_ENG_5.GIF' WIDTH=100% HEIGHT=2></TD>
<TD><IMG SRC='PT_TAB3RIXB8B090_ENG_5.GIF'></TD>
<TD><IMG SRC='PT_TAB_BOTTOM_LINE_ENG_5.GIF' HEIGHT=2></TD>
</TR>
</TABLE>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 COLS=2 WIDTH=678>
<TR>
<TD WIDTH=4 HEIGHT=8></TD>
<TD WIDTH=674></TD>
</TR>
<TR>
<TD HEIGHT=100></TD>
<TD  VALIGN=TOP ALIGN=LEFT>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 COLS=1  CLASS='PSGROUPBOX'
STYLE="BORDER-STYLE:NONE;" WIDTH=615>
<TR><TD CLASS='PSGROUPBOXLABEL' ALIGN=LEFT>View Process Request For</TD></TR>
<TR><TD WIDTH=615>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 COLS=9 WIDTH=615 CLASS='PSGROUPBOX'
STYLE="BORDER-STYLE:NONE;" >
<TR>
<TD WIDTH=12 HEIGHT=9></TD>
<TD WIDTH=48></TD>
<TD WIDTH=108></TD>
<TD WIDTH=72></TD>
<TD WIDTH=136></TD>
<TD WIDTH=56></TD>
<TD WIDTH=32></TD>
<TD WIDTH=76></TD>
<TD WIDTH=75></TD>
</TR>
<TR>
<TD HEIGHT=1 COLSPAN=8></TD>
<TD ROWSPAN=3 NOWRAP  VALIGN=TOP ALIGN=LEFT>
<INPUT TYPE=BUTTON NAME='REFRESH_BTN' TABINDEX=20 VALUE="Refresh"
CLASS='PSPUSHBUTTON' STYLE="width:72px; "
ONCLICK="submitAction_main2(this.form,this.name);">
</TD>
</TR>
<TR>
<TD HEIGHT=4 COLSPAN=2></TD>
<TD ROWSPAN=2 NOWRAP  VALIGN=TOP ALIGN=LEFT>
<INPUT TYPE=TEXT NAME='PMN_FILTER_OPRID' ID='PMN_FILTER_OPRID' TABINDEX=11
VALUE="PTDMO" CLASS='PSEDITBOX' STYLE="width:84px; " MAXLENGTH=30 ><A
NAME='PMN_FILTER_OPRID$prompt' ID='PMN_FILTER_OPRID$prompt' TABINDEX=12
HREF="javascript:submitAction_main2(document.main2,'PMN_FILTER_OPRID$prompt');"><IMG
SRC="PT_PROMPT_LOOKUP_ENG_49.gif" BORDER=0 ALIGN=ABSMIDDLE></A>
</TD>
<TD></TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<SELECT NAME='PMN_FILTER_PRCSTYPE' SIZE=1 TABINDEX=13 CLASS='PSDROPDOWNLIST'
STYLE="width:132px; " >
<OPTION VALUE="" SELECTED>
<OPTION VALUE="Application Engine">Application Engine
<OPTION VALUE="Cube Builder">Build Cube
<OPTION VALUE="COBOL SQL">COBOL SQL
<OPTION VALUE="Crw Online">Crw Online
<OPTION VALUE="Crystal">Crystal
<OPTION VALUE="Database Agent">Database Agent
<OPTION VALUE="Message Agent API">Message Agent API
<OPTION VALUE="PSJob">PSJob
<OPTION VALUE="SQR Process">SQR Process
<OPTION VALUE="SQR Report">SQR Report
<OPTION VALUE="SQR Report For WF Delivery">SQR Report For WF Delivery
<OPTION VALUE="Winword">Winword
<OPTION VALUE="nVision-Report">nVision Report
<OPTION VALUE="nVision-ReportBook">nVision-ReportBook
</SELECT>
</TD>
<TD></TD>
<TD ROWSPAN=2 NOWRAP  VALIGN=TOP ALIGN=LEFT>
<INPUT TYPE=TEXT NAME='PMN_FILTER_FILTERVALUE' ID='PMN_FILTER_FILTERVALUE'
TABINDEX=16 VALUE="" CLASS='PSEDITBOX' STYLE="width:25px; " MAXLENGTH=2 >
</TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<SELECT NAME='PMN_FILTER_FILTERUNIT' SIZE=1 TABINDEX=17 CLASS='PSDROPDOWNLIST'
STYLE="width:68px; " >
<OPTION VALUE="">
<OPTION VALUE="1" SELECTED>Days
<OPTION VALUE="2">Hours
<OPTION VALUE="3">Minutes
<OPTION VALUE="0">None
</SELECT>
</TD>
</TR>
<TR>
<TD HEIGHT=20></TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<DIV CLASS='PSEDITBOXLABEL' >User:</DIV>
</TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<DIV CLASS='PSDROPDOWNLABEL' >Type:</DIV>
</TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<DIV CLASS='PSEDITBOXLABEL' >Last:</DIV>
</TD>
</TR>
<TR>
<TD HEIGHT=4></TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<SELECT NAME='PMN_FILTER_SERVERNAME' SIZE=1 TABINDEX=14 CLASS='PSDROPDOWNLIST'
STYLE="width:100px; " >
<OPTION VALUE="" SELECTED>
<OPTION VALUE="PSNT">PSNT
<OPTION VALUE="PSOS390">PSOS390
<OPTION VALUE="PSUNX">PSUNX
</SELECT>
</TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<SELECT NAME='PMN_FILTER_RUNSTATUS' SIZE=1 TABINDEX=15 CLASS='PSDROPDOWNLIST'
STYLE="width:132px; " >
<OPTION VALUE="" SELECTED>
<OPTION VALUE="1">Cancel
<OPTION VALUE="8">Cancelled
<OPTION VALUE="3">Error
<OPTION VALUE="15">Generated
<OPTION VALUE="4">Hold
<OPTION VALUE="6">Initiated
<OPTION VALUE="10">No Success
<OPTION VALUE="12">Not Posted
<OPTION VALUE="11">Posted
<OPTION VALUE="14">Posting
<OPTION VALUE="7">Processing
<OPTION VALUE="5">Queued
<OPTION VALUE="13">Resend
<OPTION VALUE="9">Success
</SELECT>
</TD>
<TD COLSPAN=3 ROWSPAN=2 NOWRAP  VALIGN=TOP ALIGN=LEFT>
<INPUT TYPE=TEXT NAME='PMN_DERIVED_PRCSINSTANCE' ID='PMN_DERIVED_PRCSINSTANCE'
TABINDEX=19 VALUE="" CLASS='PSEDITBOX' STYLE="width:100px; " MAXLENGTH=10 >
</TD>
</TR>
<TR>
<TD HEIGHT=20></TD>
<TD ROWSPAN=2  VALIGN=TOP ALIGN=LEFT>
<DIV CLASS='PSDROPDOWNLABEL' >Server:</DIV>
</TD>
<TD  VALIGN=TOP ALIGN=LEFT>
<DIV CLASS='PSDROPDOWNLABEL' >Run Status:</DIV>
</TD>
<TD  VALIGN=TOP ALIGN=LEFT>
<DIV CLASS='PSEDITBOXLABEL' >Instance:</DIV>
</TD>
</TR>
<TR>
<TD HEIGHT=28></TD>
<TD COLSPAN=7 NOWRAP  VALIGN=TOP ALIGN=LEFT>
<LABEL FOR='PMN_FILTER_VIEWJOBITEMS' CLASS='PSCHECKBOX' >
<INPUT TYPE=HIDDEN NAME='PMN_FILTER_VIEWJOBITEMS$chk' VALUE="0">
<INPUT TYPE=CHECKBOX NAME='PMN_FILTER_VIEWJOBITEMS' ID='PMN_FILTER_VIEWJOBITEMS'
TABINDEX=18 VALUE="1"
ONCLICK="this.form.PMN_FILTER_VIEWJOBITEMS$chk.value=(this.checked?'1':'0');doFocus_main2(this,false,true);">
View Job Items</LABEL>
</TD>
</TR>
</TABLE>
</TD></TR>
</TABLE>
</TD>
</TR>
<TR>
<TD HEIGHT=176></TD>
<TD  VALIGN=TOP ALIGN=LEFT>
<TABLE BORDER=0 CELLSPACING=0 STYLE="BORDER-STYLE:NONE;" CELLPADDING=2
CLASS='PSLEVEL1GRID' COLS=8 WIDTH=674>
<TR><TD CLASS='PSLEVEL1GRIDLABEL' COLSPAN=8 ALIGN=RIGHT><SPAN
CLASS='PSHEADERHYPERLINKD' >View
All</SPAN>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<SPAN
CLASS='PSHEADERHYPERLINKD' >First</SPAN>&nbsp;<IMG
SRC=PT_PREVIOUSROW_D_ENG_5.gif NAME='PMN_PRCSLIST$hup$img' BORDER=0>&nbsp;<SPAN
STYLE="font-size:80%;">1 of 1</SPAN>&nbsp;<IMG SRC=PT_NEXTROW_D_ENG_5.gif
NAME='PMN_PRCSLIST$hdown$img' BORDER=0>&nbsp;<SPAN CLASS='PSHEADERHYPERLINKD'
>Last</SPAN>&nbsp;</TD></TR>
<TR VALIGN=CENTER>
<TD WIDTH=46 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Instance</TD>
<TD WIDTH=21 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Seq.</TD>
<TD WIDTH=113 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Process Type</TD>
<TD WIDTH=107 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Process Name</TD>
<TD WIDTH=49 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>User</TD>
<TD WIDTH=187 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Run Date/Time</TD>
<TD WIDTH=78 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Run Status</TD>
<TD WIDTH=45 ALIGN=LEFT CLASS='PSLEVEL1GRIDCOLUMNHDR'>Details</TD>
</TR>
<TR VALIGN=CENTER>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW'  HEIGHT=14>
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW' >
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW' >
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW' >
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW' >
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW' >
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW' >
&nbsp;
</TD>
<TD ALIGN=LEFT CLASS='PSLEVEL1GRIDODDROW'  NOWRAP>
<DIV CLASS='PSHYPERLINK' >
<A NAME='PMN_DERIVED_PRCSDETAIL_BTN' ID='PMN_DERIVED_PRCSDETAIL_BTN' TABINDEX=30
HREF="javascript:submitAction_main2(document.main2,'PMN_DERIVED_PRCSDETAIL_BTN');"
CLASS='PSHYPERLINK'  TITLE='Process Detail' >Details</A></DIV>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD HEIGHT=66 COLSPAN=2></TD>
</TR>
</TABLE>
<TABLE WIDTH=100%><TR>
<TD>
<A name='#ICSave' HREF="javascript:submitAction_main2(document.main2,
'#ICSave')" ACCESSKEY=1 TABINDEX=43><IMG SRC='PT_SAVE_ENG_12.gif' NAME='Save'
BORDER=0></A>
<IMG SRC='PT_PREVTAB_D_ENG_12.gif' NAME='Previous Page' BORDER=0>
<A name='#ICNext' HREF="javascript:submitAction_main2(document.main2,
'#ICNext')" TABINDEX=44><IMG SRC='PT_NEXTTAB_ENG_12.gif' NAME='Next Page'
BORDER=0></A>
</TD>
</TR></TABLE>
<TABLE><TR><TD NOWRAP="NOWRAP" CLASS=PSHYPERLINK>
Process List    |
<A HREF="javascript: submitAction_main2(document.main2, '#ICPanel1')"
TABINDEX=45 ACCESSKEY='S'><u>S</u>erver List</A>
</TD></TR></TABLE>
</FORM>
<a name='ICLastAnchor_main2'></a>
</BODY>
</HTML>
(Reporter)

Comment 1

18 years ago
Created attachment 16975 [details]
The HTML that causes the crash.

Comment 2

18 years ago
WFM Linux 2000-10-13-09.
Reporter, which build are you using?
(Reporter)

Comment 3

18 years ago
Build is M18.  Win32.

Comment 4

18 years ago
*** Bug 56386 has been marked as a duplicate of this bug. ***

Comment 5

18 years ago
Works for me in Build 2000101820 in WinNT.
(Reporter)

Comment 6

18 years ago
Created attachment 17527 [details]
THIS is the real crash
(Reporter)

Comment 7

18 years ago
HTML in body and in first attachments do not cause crash.  I can't explain how 
I managed to attach the wrong file, but the file I've just pasted definitely 
does.

Comment 8

18 years ago
Neither attachment crash Build 2000101708 in Linux

Comment 9

18 years ago
WFM Linux 2000-10-19-11

Comment 10

18 years ago
New attachment also works for me in Build 2000101920 in WinNT, although an alert
pops up in the middle of loading saying 'bugzilla.mozilla.org could not be
found.  Please check name and try again.'
(Reporter)

Comment 11

18 years ago
It appears this is platform-specific.  2 different Win2K boxes choke on it, 1 
WinNT box survives. 
Summary: Javascript in this HTML crashes the browser. → Javascript in this HTML crashes the Win2K browser

Comment 12

18 years ago
WFM WinNT 4 NS6 buildid=2000101608.  Will try on Win2k

Comment 13

18 years ago
Could anyone with a Win2K debug build provide a stack trace of the crash? 
Without a trace it will be impossible to diagnose the bug. Thanks!

Comment 14

18 years ago
marking worksforme. neither of the 2 attachments are causing a crash for me 
using the 10-27-09 mtrunk & mn6 builds on win2k.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → WORKSFORME

Comment 15

18 years ago
Using MN6 branch and trunk builds pulled 2000-10-27.
Verified do not crash on either attachment with Win2K. 


However, John Morrison points out that the HTML for the 
attachments uses URLs like this:


    <BASE HREF='http://CDODTX/peoplesoft8/cache/images/'>


Without a domain, the browser can't find this on the Internet 
and will look on the Bugzilla server network to find it. Of course, 
it won't be found on the Bugzilla network  -  thus the HTML for these 
attachments won't contain what the original did on your own network.


So - Cory, did your Win2K boxes crash on the attachments AFTER they were
attached to this bug? That is, by clicking on them here and not locally?


Leaving Verified WorksForMe for now -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.