diff options
Diffstat (limited to 'src/core.js')
-rw-r--r-- | src/core.js | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/core.js b/src/core.js index 6afb97685..67b6e7199 100644 --- a/src/core.js +++ b/src/core.js @@ -225,16 +225,8 @@ jQuery.extend({ return false; } - // Support: Firefox <20 - // The try/catch suppresses exceptions thrown when attempting to access - // the "constructor" property of certain host objects, ie. |window.location| - // https://bugzilla.mozilla.org/show_bug.cgi?id=814622 - try { - if ( obj.constructor && - !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) { - return false; - } - } catch ( e ) { + if ( obj.constructor && + !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) { return false; } |