Closed Bug 257065 Opened 20 years ago Closed 19 years ago

View Source after 'view (background) image' yields rubbish

Categories

(Toolkit :: View Source, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 206176

People

(Reporter: g01457013, Assigned: bugs)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040811 Firefox/0.9.3 (MOOX M2)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040811 Firefox/0.9.3 (MOOX M2)

If an image is viewed in a separate window, using the 'view image' or 'view
background image' options, the view source window will contain binary data of
the image (i.e. rubbish). Although this situation probably will almost never
occur in practice, it may still be a good idea to disable View Source for this
particular situation, or to show only the image URL instead.

Reproducible: Always
Steps to Reproduce:
1. Go to bugzilla.mozilla.org
2. Right-click the ant image, and select View Image from the context-menu
3. Use View Source in the newly opened tab

Actual Results:  
View Source window shows binary code

Expected Results:  
View Source window should show something sensible, such as the URL to the image,
or it should be disabled altogether for this situation.
The Seamonkey UI doesn't have this problem. Viewsource is simply disabled there.
This bug is specific to the UI of Firefox.
Assignee: doronr → bugs
Status: UNCONFIRMED → NEW
Component: ViewSource → View Source
Ever confirmed: true
Product: Browser → Firefox
QA Contact: firefox.view-source
Note bug 288462.
Just open a gif or png file in firefox,
right-click a blank area, click 'View Page Source'

You can see the source of the gif or png file.

I don't know whether this is a bug or a feature.

*** This bug has been marked as a duplicate of 206176 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.