Closed Bug 372097 Opened 19 years ago Closed 4 years ago

Flash MIME type not displayed as delivered by server

Categories

(Firefox :: Page Info Window, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: daniel.kastenholz, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a2) Gecko/20070206 GranParadiso/3.0a2 The page info panel displays flash objects as "application/x-shockwave-flash" (according to the HTML hint) even if they were not delivered as such. That is because the page info panel uses the HTML declaration as source of information, e.g. <object data="movie.swf" type="application/x-shockwave-flash" ...> Problem: the browser itself does not, and attempts to display the objects according to their own mime type header (which should usually match, but doesn't always, because the HTML code is defined by the designer, and the file header and the mime type info therein are generated by the server). This can lead to confusion in relation to bug #371938 (summary: Flash objects in Gran Paradiso not displayed when served as something else than "application/x-shockwave-flash"). Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: Object's MIME type is displayed as stated in HTML declaration Expected Results: Object's MIME type should be displayed as stated in HTML declaration AND as delivered by the server
Thought I was going to get to this, but I need to close the tabs remembering what to do: biesi says "pageinfo just needs to do what the plugin finder service does" which means http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/pageInfo.js&rev=1.32&mark=869-876#869 needs to be doing http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/browser/base/content/browser.js&rev=1.768&mark=5211-5216#5211
Status: UNCONFIRMED → NEW
Ever confirmed: true
Is this bug still valid? Any way to reproduce?
> Is this bug still valid? Yes. The code in question has not changed significantly in the time since. > Any way to reproduce? Simply serve up a valid flash object but declare it as something else in the html markup. <h2>Object with incorrect mime-type</h2> <p> <object width="300" height="120" type="foo/bar" data="http://www.adobe.com/swf/software/flash/about/flash_animation.swf"> <div>FAIL (the browser should render some flash content, not this).</div> </object> </p>

Florian, since Flash is no longer supported in stable, can we close this as WONTFIX?

Flags: needinfo?(florian)
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
Flags: needinfo?(florian)
You need to log in before you can comment on or make changes to this bug.