Bug 908750 - Fix a rooting hazard in nsScriptSecurityManger::LookupPolicy; r=bholley

--HG--
extra : rebase_source : 27bf6ef6bce3bed136921df15ea00ae86bd73f89
Bug 916986 - Implement a JSAutoAssertNoGC for the analysis to pay attention to, r=terrence