5 testRunner
.dumpAsText();
7 var plugins
= new Array
;
8 for (var i
= 0; i
< navigator
.plugins
.length
; ++i
) {
9 plugins
.push(navigator
.plugins
[i
]);
12 var mimeTypes
= new Array
;
13 for (var i
= 0; i
< navigator
.mimeTypes
.length
; ++i
) {
14 mimeTypes
.push(navigator
.mimeTypes
[i
]);
17 navigator
.plugins
.refresh();
21 for (var i
= 0; i
< plugins
.length
; ++i
) {
22 output
+= plugins
[i
].name
;
26 for (var i
= 0; i
< mimeTypes
.length
; ++i
) {
27 output
+= mimeTypes
[i
].type
;
33 //document.writeln(output);
34 document
.writeln("Tests access to previously received arrays from navigator.plugins and mimetypes after calling plugins.refresh(). If this text appears and there is no crash, then the test succeeded.");