зеркало из https://github.com/mozilla/gecko-dev.git
bug 1294341 - only assert that navigator.plugins is not empty when there is a hidden CTP plugin r=bsmedberg
This commit is contained in:
Родитель
750d2949b7
Коммит
04c44176b6
|
@ -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();
|
||||
});
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче