Back out bug 505905 due to possible talos Ts dirty profile regression.

This commit is contained in:
Reed Loden 2009-09-16 12:47:49 -05:00
Родитель 324bd0d50c
Коммит 423a970fd1
1 изменённых файлов: 1 добавлений и 4 удалений

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

@ -411,10 +411,7 @@ InstallTriggerGlobalInstallChrome(JSContext *cx, JSObject *obj, uintN argc, jsva
// get chromeType first, the update enabled check for skins skips whitelisting
if (argc >=1)
{
if (!JS_ValueToECMAUint32(cx, argv[0], &chromeType))
return JS_FALSE;
}
JS_ValueToECMAUint32(cx, argv[0], &chromeType);
// make sure XPInstall is enabled, return if not
nsIScriptGlobalObject *globalObject = nsnull;