Closed
Bug 35398
Opened 25 years ago
Closed 25 years ago
accesing link properties hash, pathname, port, and search crash application for AREA.
Categories
(Core :: DOM: Core & HTML, defect, P3)
Tracking
()
VERIFIED
FIXED
M16
People
(Reporter: desale, Assigned: jst)
Details
(Keywords: crash, Whiteboard: [HAVE FIX])
Attachments
(3 files)
1.04 KB,
text/html
|
Details | |
1017 bytes,
text/html
|
Details | |
957 bytes,
patch
|
Details | Diff | Splinter Review |
accesing link properties hash, pathname, port, and search crash application for
AREA Element. It does not happen with anchors.
BUILDS USED: 2000-04-10-09.
STEPS TO REPRODUCE:
1] Load Attachment I'm going to provide with above specified builds.
OR
1] Copy HTML source I'm provideing. Save as HTML file.
2] Load this file with above specified builds.
EXPECTD RESULTS:
We should see one area and four properties printed on screen.
ACTUAL RESULTS:
Application crashes.
TESTCASE CODE START:
<HTML>
<HEAD>
<TITLE>Link Array Test</TITLE>
</HEAD>
<BODY >
<FORM NAME="workform">
<A HREF="http://www.netscape.com/index.html#angels0?ser=20" TARGET="_new">
<MAP NAME="star">
<AREA NAME="topstar" SHAPE="RECT" COORDS="0,0,300,100"
HREF="http://www.yahoo.com/index.html#angels?ser=15" TARGET="_new">
<AREA NAME="middlestar" SHAPE="RECT" COORDS="0,100,300,200"
HREF="http://www.yahoo.com/index.html#angels1?ser=12" TARGET="_new">
<AREA NAME="bottomstar" SHAPE="RECT" COORDS="0,200,300,300"
HREF="http://www.yahoo.com/index.html#angels2?ser=14" TARGET="_new">
</MAP>
<IMG NAME="testimage" SRC="/testdata/highstar.gif" ALIGN="left" VSPACE="10"
HEIGHT="300" WIDTH="300" BORDER="0" USEMAP="#star">
</A>
</FORM>
<SCRIPT TYPE="text/javascript">
document.write(document.links[1].hash);
document.write(document.links[1].pathname);
document.write(document.links[1].port);
document.write(document.links[1].search);
</SCRIPT>
</BODY>
</HTML>
TESTCASE CODE END:
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 2•25 years ago
|
||
Assignee | ||
Comment 3•25 years ago
|
||
Assignee | ||
Comment 4•25 years ago
|
||
Found the problem, we didn't inherit from the interface we claimed to support in
QueryInterface(). The patch I just attached fixes this crash.
Status: NEW → ASSIGNED
Whiteboard: [HAVE FIX]
Target Milestone: --- → M16
Assignee | ||
Comment 5•25 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•