2 "Check that navigator.plugins does not contain empty plugin objects"
5 var hasInvalidPlugin
= false;
6 for (var i
= 0; i
< navigator
.plugins
.length
; ++i
) {
7 var plugin
= navigator
.plugins
[i
];
8 if (!plugin
.description
|| !plugin
.name
|| !plugin
.filename
) {
9 hasInvalidPlugin
= true;
13 shouldBeFalse("hasInvalidPlugin");
15 successfullyParsed
= true;