Closed Bug 66322 Opened 24 years ago Closed 24 years ago

ImageNetContextSyncImpl contenttype check will fail

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: gagan, Assigned: pavlov)

References

Details

We are quite unnecessarily checking the content-type before doing any operation on the channel around these lines of code. http://lxr.mozilla.org/seamonkey/source/gfx/src/nsImageNetContextSync.cpp#210 If the intent is to only guess the mime type then we should just check the file extension.
Depends on: 70938
This code is no longer used. This bug has been fixed by the new image library.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.