Closed Bug 151971 Opened 21 years ago Closed 20 years ago

document.write does not show image

Categories

(Core :: Networking: Cache, defect, P3)

x86
Windows 2000
defect

Tracking

()

RESOLVED WONTFIX
mozilla1.3alpha

People

(Reporter: alexander_spring, Assigned: gordon)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530
BuildID:    2002053012

<script Language='JavaScript'>
function winopen(link) {
msg1=open("","","toolbar=no,location=no,directories=no,
status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=yes,
left=100,top=70,screenX=100,screenY=70,width=650,height=630")
msg1.document.write("<html><head><title>Alexander Khomenko Home Site -
Photos</title></head>")
msg1.document.write("<body bgcolor=\"#999999\" text=\"#000000\" link=\"#000000\"
vlink=\"#000000\" alink=\"#999999\" background=\"../images/b.gif\">")
msg1.document.write("<center>")
msg1.document.write("<a href=javascript:window.close()><img src=")
msg1.document.write(link)
msg1.document.write(" border=1></a>")
msg1.document.write("</center><p align=\"right\"><font face=\"Verdana, Arial,
Helvetica, sans-serif\" size=\"1\" color=\"#CCCCCC\">&copy; 2001 Alexander
Khomenko</font></p>")
msg1.document.write("</body>")
msg1.document.write("</html>")
msg1.document.close( )
msg1.focus ( )

}
</SCRIPT>




click on each preview image opens new page with html to be OK, but the image is
not shown. only empty image box is shown. if you then click on the box and
choose "view image", view it, and go back in this window, you even cannot popup
(right mouse click) menu on the page!!!


Reproducible: Always
Steps to Reproduce:
1.open page http://darkstar.narod.ru/europe_01/eur3.html
2.click on little preview image (any)


Actual Results:  image is not shown

Expected Results:  image should be shown
Confirming bug using Mozilla trunk binary 20020614xx on WinNT.

When the child window comes up, I can right-click on it to do
"View Page Info". There, under the "Media" tab, we can see the
fully-qualified URL for the image that is suppose to display,
but it shows "0 Kb" in disk cache...

Reassigning to Networking:Cache for further triage -

Note: these images take a long time to load; just try this
example of one of the child pages (I've added the <base> tag):

<base href="http://darkstar.narod.ru">
<html><head><title>Alexander Khomenko Home Site - Photos</title></head>
<body bgcolor="#999999" text="#000000" link="#000000" vlink="#000000" 
alink="#999999" background="../images/b.gif">
<center><a href=javascript:window.close()>
<img src=../images/my_photos/eur/18_0.jpg border=1></a>
</center>

<p align="right"><font face="Verdana, Arial, Helvetica, sans-serif" size="1" 
color="#CCCCCC">
&copy; 2001 Alexander Khomenko
</font></p>

</body></html>
Assignee: rogerl → gordon
Component: JavaScript Engine → Networking: Cache
QA Contact: pschwartau → tever
Status: UNCONFIRMED → NEW
Ever confirmed: true
still not resolved in 1.1b
=(
still not resolved in 1.1
Priority: -- → P3
Target Milestone: --- → mozilla1.3alpha
Worksforme.
Is it fixed now?
2002112222-trunk/Linux build.
I've found this bug in nightly builds of Phoenix and Camino in the last few
weeks, before that it was working. Example where I'm finding this problem:

http://www.alexking.org/software/tasks/demo_1.5/
All the testcases work for me in current builds.  Please reopen if this is still
a problem in a current build and point to a testcase if so.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.