We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01c360f commit 3dccf62Copy full SHA for 3dccf62
src/core.js
@@ -225,16 +225,8 @@ jQuery.extend({
225
return false;
226
}
227
228
- // Support: Firefox <20
229
- // The try/catch suppresses exceptions thrown when attempting to access
230
- // the "constructor" property of certain host objects, ie. |window.location|
231
- // https://bugzilla.mozilla.org/show_bug.cgi?id=814622
232
- try {
233
- if ( obj.constructor &&
234
- !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
235
- return false;
236
- }
237
- } catch ( e ) {
+ if ( obj.constructor &&
+ !hasOwn.call( obj.constructor.prototype, "isPrototypeOf" ) ) {
238
239
240
0 commit comments