Closed Bug 5876 Opened 25 years ago Closed 25 years ago

javascript error message on 2 table regression tests

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: karnaze, Assigned: vidur)

Details

The following javascript error occurred while running the table regression test on layout\html\tests\table\bugs\bug1296.html. This page has loaded in the past without this error. bug1430.html also generated the same error but I did not include that file here. JavaScript error: unterminated string literal Line text: 'open_wname('http://my.netscape.com/mys/contact/comingsoon.html','sea rch', Error text: ''search' JavaScript error: unterminated string literal Line text: 'open_wname('http://form.netscape.com/directory/lookup/html/search_fr ame', Error text: ''http://form.netscape.com/directory/lookup/html/search_frame' ----- layout\html\tests\table\bugs\bug1296.html ------------ <BODY> <TABLE> <TR> <td>Let's put some space in here!</td> <TD> <TABLE> <TR> <TD> <TABLE> <TR BACKGROUND="http://my.netscape.com/mys/images/contact/90percent2x2screen.gif"> <TD><IMG SRC="http://my.netscape.com/mys/images/w.gif" WIDTH=4 HEIGHT=1><IMG SRC=http://my.netscape.com/mys/images/contact/contact_cookie_tb_yes.gif contact_cookie_tb_no.gif USEMAP="#toolbar" WIDTH=436 HEIGHT=35 ALT="button palette" BORDER=0 VSPACE=5 ISMAP> <MAP NAME="toolbar"> <AREA SHAPE=RECT COORDS="0,0,41,35" HREF="mailto:"> <AREA SHAPE=RECT COORDS="41,0,124,35" HREF="http://form.netscape.com/directory/html/no_javascript.html" onClick="open_wname('http://my.netscape.com/mys/contact/comingsoon.html','search '); return false;"> <AREA SHAPE=RECT COORDS="124,0,164,35" HREF="/setup_frameset.tmpl?services=addressbook&mn=NO&dest=/contact/index.tmpl"> <AREA SHAPE=RECT COORDS="164,0,222,35" HREF="http://form.netscape.com/directory/html/no_javascript.html" onClick="open_wname('http://form.netscape.com/directory/lookup/html/search_frame set.html','mdsearch'); return false;"> <AREA SHAPE=RECT COORDS="309,0,352,35" HREF="http://ureg.netscape.com/iiop/UReg2/login/login?U2_SOURCE=ADDRESSBOOK&U2_E NDURL=http://home.netscape.com&U2_EXITURL=http://home.netscape.com&U2_BROWSER_OK =true&U2_LOGOUT=true"> <AREA SHAPE=RECT COORDS="352,0,411,35" HREF="/setup_frameset.tmpl?services=addressbook&mn=NO&dest=/contact/index.tmpl"> <AREA SHAPE=RECT COORDS="309,0,352,35" HREF="http://ureg.netscape.com/iiop/UReg2/login/login?U2_SOURCE=ADDRESSBOOK&U2_E NDURL=http://contact.netscape.com/contact/&U2_EXITURL=http://home.netscape.com&U 2_BROWSER_OK=true"> <AREA SHAPE=RECT COORDS="352,0,411,35" HREF="http://ureg.netscape.com/iiop/UReg2/entrypoint/dispatch?U2_SOURCE=ADDRESSB OOK&U2_NEW_ENDURL=http://contact.netscape.com/setup_frameset.tmpl//&services=add ressbook//&mn=NO//&dest=/contact/index.tmpl&U2_EXITURL=http://home.netscape.com& U2_BROWSER_OK=true"> <AREA SHAPE=RECT COORDS="411,0,436,35" HREF="http://my.netscape.com/mys/contact/help.html"> </MAP> </td></tr></table> </td></tr></table> </td></tr></table> </body>
QA Contact: 4590 → 4015
this isn't core javascript.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
The error is in the source. You need to remove the newlines within the onClick() attribute values. They probably got placed as a result of a cut-and-paste.
Javacsript component begin retired. Moving this bug to Javascript Engine.
Status: RESOLVED → VERIFIED
Verified Invalid
You need to log in before you can comment on or make changes to this bug.