Closed
Bug 453518
Opened 17 years ago
Closed 14 years ago
Wrong Path to Resource on locale filesystem when using JavaScript function open() and frames
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INCOMPLETE
People
(Reporter: ch-mue, Unassigned)
Details
(Whiteboard: [CLOSEME 2010-11-01])
Attachments
(1 file)
2.81 KB,
application/x-zip-compressed
|
Details |
User-Agent: Opera/9.52 (Windows NT 5.1; U; de)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Calling window.open() in a frame located in a subfolder and then using newwin.document.writeln("<img src='MyPicture.jpg' >"): The image is not shown in the new window.
Image properties: /path_to_folder/MyPicture.jpg instead of /path_to_folder/subfolder/MyPicture.jpg
If you open the page directly (not in a frameset), the image is shown.
This happens only on the locale file system, not on a Webserver.
Reproducible: Always
Steps to Reproduce:
create a frameset:
... <frame src="HTML/index.html" >
create picture Winter.jpg in subfolder HTML
create index.html:
<a href="javascript:wopen()">click</a>
function wopen() {
vgaWin = window.open("", "SNew_Win","toolbar=no,location=no,directories=no,status=yes,menubar=no,scrollbars=yes,resizable=yes,width=800,height=630");
vgaWin.focus();
vgaWin.document.open();
vgaWin.document.writeln("<HTML><HEAD>");
vgaWin.document.writeln("</HEAD>");
vgaWin.document.writeln('<BODY >');
vgaWin.document.writeln("<IMG SRC='Winter.jpg' >");
vgaWin.document.writeln("</BODY>");
vgaWin.document.writeln("</HTML>");
vgaWin.document.close();
}
Actual Results:
image is not shown
Expected Results:
image should be shown
does not appear in FF 2, Opera and IE. The Casio Photoloader Program produces HTML pages with this problem.
This is the cause of the problem another person has reported:
http://support.mozilla.com/tiki-view_forum_thread.php?locale=eu&comments_parentId=100266&forumId=1
Comment 1•17 years ago
|
||
Sounds related to Bug 404822.
I don't think so:
- I don't access another frame and I don't get any "permission denied message"
- I have downloaded the testcase and its works!!.
- If I change the image src to subfolder/Winter.jpg the image is shown, although the frame is located in the subfolder
- I have downloaded the example from Bug 404822 Comment #15 and it seems to be the same problem. But changing the path helps too.
Comment 4•15 years ago
|
||
This is a mass search for Firefox General bugs filed against version 3.0 that are UNCO and have not been changed for 200 days.
Reporter, please update to Firefox 3.6.10 or alter. Firefox 3.0 is no longer supported and is no longer receiving updates. After you update, please create a fresh profile, http://support.mozilla.com/kb/managing+profiles, and test to see if your bug still exists. If you still the bug, then please post a comment with the version you tested against, and the problem. If the issue is no longer there, please set the RESOLUTION to RESOLVED, WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Comment 5•14 years ago
|
||
No reply from reporter, INCOMPLETE. Please retest with Firefox 3.6.12 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: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•