Bug 1401287 - Skip sandbox check for test plug-in on Android; r=dbaron

The test plugins - dom/plugins/test/testplugin - are not built on Android.
By assuming that the test plugin is not available on Android, a per-manifest
check and warning can be avoided.
This commit is contained in:
Geoff Brown 2017-09-22 11:32:40 -06:00
Родитель 3c8e31bdb7
Коммит d35762b75d
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -805,7 +805,7 @@ function BuildConditionSandbox(aURL) {
// see if we have the test plugin available,
// and set a sandox prop accordingly
sandbox.haveTestPlugin = !!getTestPlugin("Test Plug-in");
sandbox.haveTestPlugin = !sandbox.Android && !!getTestPlugin("Test Plug-in");
// Set a flag on sandbox if the windows default theme is active
sandbox.windowsDefaultTheme = gContainingWindow.matchMedia("(-moz-windows-default-theme)").matches;