Support for enumeration,
item and namedItem() in navigator.{plugins|mimeTypes}
David Faure
faure at kde.org
Mon Mar 22 21:17:08 CET 2004
In case you missed it on khtml-cvs, here's the full diff.
Testcase:
var s = "";
for (i in navigator.plugins) {
s += i + " ";
}
alert("in plugins: " + s);
s = "";
for (i in navigator.mimeTypes) {
s += i + " ";
}
alert("in mimeTypes: " + s);
for (i in navigator.plugins[0]) {
s += i + " ";
}
alert("in plugin: " + s);
s = "";
for (i in navigator.mimeTypes[0]) {
s += i + " ";
}
alert("in mimeType: " + s);
Thanks for applying to Safari.
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kjs_nav.diff
Type: text/x-diff
Size: 15066 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20040322/7bf6adfb/kjs_nav.bin
More information about the Khtml-devel
mailing list