Closed
Bug 284714
Opened 20 years ago
Closed 20 years ago
[TRUNK] View Page Info - Media: embeds with relative URLs cannot be saved and show incorrect address
Categories
(Firefox :: Page Info Window, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 213701
People
(Reporter: dopefishjustin, Assigned: bugs)
References
()
Details
(Keywords: regression)
Attachments
(1 file)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050303 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050303 Firefox/1.0+
On the page info window, files that are included in the page via <embed> tags
and relative URLs show only the relative URL in the "Address" field and cannot
be saved using the Save As button. This does not occur for files included with
<embed> tags and absolute URLs, or files included with <img> or <object> tags
using any sort of URL.
That's kind of a confusing description, so to make things clearer, I've made a
testcase at http://members.cox.net/dopefish_justin/pageinfobug.html that
specifies the same file using all six possible combinations of embed/object/img
and relative/absolute URLs (look at the source code). When you go to Page Info,
all of the files except the first in the list show their full address and can be
saved using the Save As button. Neither of the embed objects are shown in the
preview pane; that's fine because it's apparently for security reasons (see bug
156734).
When you click Save As for the first file in the list, not only does no save
dialog appear but the following error appears in the JavaScript Console:
Error: uncaught exception: [Exception... "Component returned failure code:
0x804b000a [nsIIOService.newURI]" nsresult: "0x804b000a (<unknown>)" location:
"JS frame :: chrome://browser/content/contentAreaUtils.js :: makeURI :: line
680" data: no]
Reproducible: Always
Steps to Reproduce:
1. Go to http://members.cox.net/dopefish_justin/pageinfobug.html
2. Tools->Page Info
3. Select the first file in the list
4. Click the Save As button
Actual Results:
No save dialog appears, and an error appears in the JavaScript Console.
Expected Results:
Displayed a save dialog the same as for the other five files.
Some of the dupes to bug 156734 sound similar to this problem but the bug itself
isn't the same, and it's from 2002, whereas I'm fairly sure the problem I
describe is relatively recent.
I'm using the SVG-enabled contrib build but I don't think that would make a
difference.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
Forgot to mention that the list of files I'm talking about is on the Media tab
of the Page Info window.
Comment 3•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050302
Firefox/1.0+
I can reproduce. Confirming.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Trunk only, FF 1.0.1 works ok.
Keywords: regression
Summary: Page Info - embeds with relative URLs cannot be saved and show incorrect address → [TRUNK] View Page Info - Media: embeds with relative URLs cannot be saved and show incorrect address
Version: unspecified → Trunk
Comment 5•20 years ago
|
||
dup of an older bug of mine
*** This bug has been marked as a duplicate of 213701 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•