Also, remove the try/catch clause as nsCookieService::Add() will only fail if the profile was already closed or we're OOM, aborting in those cases is absolutely fine.