diff --git a/lib/util.js b/lib/util.js index db7b5c3..ad42769 100644 --- a/lib/util.js +++ b/lib/util.js @@ -493,6 +493,10 @@ function getDefineSecureProp() } catch ( e ) { + // let's not have this happen again, as repeatedly throwing + // exceptions will do nothing but slow down the system + exports.secureFallback( true ); + // if there's an error (ehem, IE8), fall back fallback( obj, prop, value ); }