зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
3c8e31bdb7
Коммит
d35762b75d
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче