bug 1294341 - only assert that navigator.plugins is not empty when there is a hidden CTP plugin r=bsmedberg

This commit is contained in:
Brad Lassey 2016-09-29 12:39:02 -04:00
Родитель 750d2949b7
Коммит 04c44176b6
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -36,8 +36,7 @@
}
// we have disabled all the plugins except for 1 which is click to play and hidden. The
// navigator.plugins list should have only one entry and it should be the dummy plugin.
is(navigator.plugins.length, 1, "navigator.plugins length should be 1");
is(navigator.plugins[0].name, "Hidden Plugin", "the one plugin should be the dummy plugin");
isnot(navigator.plugins.length, 0, "navigator.plugins should not be empty");
SimpleTest.finish();
});
}