Closed Bug 661 Opened 26 years ago Closed 25 years ago

navigator.mimetypes array does not work (blocked on with(document))

Categories

(Core :: DOM: Core & HTML, defect, P1)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: angus, Assigned: beard)

References

()

Details

(Whiteboard: handing back (1223 fixed))

I can't seem to get plug-ins to work on release builds on win95. Perhaps this is a known issue ... making note of it here anyway. What I *do* see in place of a plug-in is a rectangle that never repaints where the plug-in should be.
Status: NEW → RESOLVED
Closed: 26 years ago
Component: Unknown → Plug-ins
Resolution: --- → FIXED
while i won't guarantee that everything is well, they will now work as well in release mode as they do in debug mode.
Status: RESOLVED → REOPENED
plug-ins don't appear to be working, so i'm reopening this bug. i just see the gray rectangle with the "OBJECT" in it. i tried this with the 11/30 build on NT and win95.
Assignee: michaelp → amusil
Status: REOPENED → NEW
no idea what this is, but i get to pass the buck now... :)
Status: NEW → ASSIGNED
There shouldn't be any difference between the debug and release builds. ernie - are you still having problems? Are you sure you have the right plugins installed?
Assignee: amusil → beard
Status: ASSIGNED → NEW
Component: Plug-ins → DOM
Priority: P2 → P1
Summary: Plug-ins don't work in release build → navigator.mimetypes array does not work
When I load this page, I don't get a gray rect - I get a jpg picture of "Chef". If you look at the page source, you can see that they use JS to check the mimetype array and determine if the Macromedia Flash plugin is installed. I do not believe that this capability is currently working in Raptor. Patrick - are you the guy who's supposed to make this work with the DOM?
Maybe. I'll look into this next week.
Status: NEW → ASSIGNED
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA Contact: 4015 → 4616
QA contact re-assigned according to the product areas we're currently working on.
Component: DOM Level 1 → DOM Level 0
Component updated to DOM Level 0.
Resolution: FIXED → ---
Target Milestone: M4 → M5
moved to M5.
OS: Windows 95 → All
Hardware: PC → All
This should really be merged with bug #4592, since the same infrastructure has to be added to fix both. Vidur would you also add readonly attribute HTMLCollection mimeTypes; to mozilla/dom/public/idl/base/Navigator.idl, and add stub implementations of GetMimeTypes() and GetPlugins() to NavigatorImpl?
*** Bug 1015 has been marked as a duplicate of this bug. ***
I've implemented the feature for the most part, but with the potential for duplicate entries in the mimeTypes array. We'll need to add additional methods to nsIPluginHost to determine the active plugin for a particular MIME type.
Assignee: beard → desale
Status: ASSIGNED → NEW
Fixed bug, please test.
As soon as I visit the site "http://www.comedycentral.com/southpark/" apprunner crashes. Details: Product: seamonkey [apprunner] Build: 04/21/99 Platform: PC OS: Windows-95. Apprunner is crashing.
Assignee: desale → vidur
Actually somehow this bug was assigned to me, and since I'm not a developer I need to reassign it to development team. Since its Dom Level-0, assgining it to Vidur.
Assignee: vidur → beard
Oh, I think it should be assigned to Patrick Beard, since it was assigned to same before. Sorry Vidur.
Assignee: beard → shaver
Summary: navigator.mimetypes array does not work → navigator.mimetypes array does not work (blocked on with(document))
Target Milestone: M5 → M6
This appears to be the same problem as bug # 1223. The problem occurs in the frame document, "http://www.comedycentral.com/southpark/index2.tin" which has the JavaScript function, MM_preloadImages(), which has has a "with(document)" statement in it. Vidur asks that we don't duplicate this bug, but when you fix 1223, this bug should be fixed as well.
Status: NEW → ASSIGNED
Assignee: shaver → beard
Status: ASSIGNED → NEW
Whiteboard: handing back (1223 fixed)
1223 is fixed, so this goes back to Patrick.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago25 years ago
Resolution: --- → FIXED
This page no longer refers to navigator.mimeTypes, so I can't verify fix from here. I have simple tests that do show that the mimeTypes and plugins arrays are working. Here's the simple test case that works for me. <HTML> <HEAD> <SCRIPT> function println(str) { document.write(str + "<BR>"); } var plugins = navigator.plugins; var len = plugins.length; println("plugins.length = " + len); if (len > 0) { var p = plugins[0]; println("p.name = " + p.name); len = p.length; println("p.length = " + len); if (len > 0) { var m = p["application/x-java-applet"]; println("m.type = " + m.type); if (m.enabledPlugin == p) println("m.enabledPlugin == p"); } } var mimeTypes = navigator.mimeTypes; len = mimeTypes.length; println("mimeTypes.length = " + len); </SCRIPT> </HEAD> </HTML>
Status: RESOLVED → VERIFIED
Verified bug. Working fine on todays build [05-17-09]. Marking verified.
You need to log in before you can comment on or make changes to this bug.