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
parent 13eca8276a
commit 80e6450ed0

View File

@ -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;