Hi Chris,
The spec might: <http://www.whatwg.org/html/#dom-navigator-mimetypes>.
HTH
Ms2ger
On 05/12/2014 12:18 PM, Chris Mills wrote:
Hi all
Dann (see below) had a query about the MimeType objects returned by
NavigatorPlugins.mimeTypes. Does anyone here have any advice about dealing with
those?
Chris Mills
Senior tech writer || Mozilla
developer.mozilla.org || MDN
cmi...@mozilla.com || @chrisdavidmills
Begin forwarded message:
From: dann <d...@bentobox.net>
Subject: Intro email
Date: 3 May 2014 04:10:55 BST
To: cmi...@mozilla.com
Hi Chris,
It was lovely meeting you at FITC and sitting next to you over speaker's dinner.
Here's that page I mentioned that has external links which now go to a domain
squatter:
https://developer.mozilla.org/en-US/docs/Web/API/NavigatorPlugins.mimeTypes
In Chrome, at least, those mime type objects behave in a terribly strange
fashion. I haven't found anyone who can describe it sensibly, but they seem to
generate a new object on every access, which means if you're trying to walk the
tree without going in a loop you'll have to write a special case for them,
because there's no way to detect that you have seen it before.
I'd love to get the straight dope from the horse's mouth though, so if you
learn anything interesting about them please do pass it along!
Thanks,
Dann Toliver
http://bentomiso.com
http://bentobox.net
http://daimio.org
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform