Closed Bug 324705 Opened 20 years ago Closed 20 years ago

<object> prefers SVG plugin to native SVG

Categories

(Core :: SVG, defect, P1)

x86
Linux
defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: dbaron, Assigned: Biesinger)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

<object> (at least without a type attribute) prefers an SVG plugin to native SVG support. This is probably a trunk regression since 1.8 (/Firefox 1.5), but I haven't checked. The preference is contrary to what happens if the same SVG file is loaded into its own window/tab. [25 12:57:39] <dbaron> When I load http://code.google.com/webstats/2005-12/classes.html I get the adobe plugin (in a broken state) instead of native SVG support, but if I load the files in their own windows, I get Mozilla native SVG support. Any idea if this is a regression? [25 12:59:01] <biesi> hmm, that's odd [25 12:59:41] <biesi> you should definitely get the native SVG support [25 13:00:19] <biesi> hm [25 13:00:25] <biesi> actually [25 13:00:26] <biesi> one sec [25 13:01:05] <biesi> http://lxr.mozilla.org/seamonkey/source/content/base/src/nsObjectLoadingContent.cpp#1215 [25 13:01:18] <biesi> looks like the code prefers plugins over native support [25 13:01:42] <biesi> but I'd think that the previous code also did that [25 13:02:56] <biesi> oh, wait [25 13:03:01] <biesi> the previous code had the plugins as fallback [25 13:03:09] <biesi> so this probably is a regression [25 13:03:25] <dbaron> Should I assign the bug to you, then? [25 13:03:51] <biesi> probably
Flags: blocking1.9a1?
Attached patch patch — — Splinter Review
dbaron, can you test this? I don't have the SVG plugin...
Attachment #209638 - Flags: superreview?(bzbarsky)
Attachment #209638 - Flags: review?(bzbarsky)
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.9alpha
Comment on attachment 209638 [details] [diff] [review] patch Nice catch!
Attachment #209638 - Flags: superreview?(bzbarsky)
Attachment #209638 - Flags: superreview+
Attachment #209638 - Flags: review?(bzbarsky)
Attachment #209638 - Flags: review+
Checking in content/base/src/nsObjectLoadingContent.cpp; /cvsroot/mozilla/content/base/src/nsObjectLoadingContent.cpp,v <-- nsObjectLoadingContent.cpp new revision: 1.24; previous revision: 1.23 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Flags: blocking1.9a1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: