Bug Tracker

Opened 8 years ago

Closed 8 years ago

#11409 closed bug (wontfix)

ajax() does not implement hasOwnProperty() within multiple for ( x in z ) statements

Reported by: jason@… Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:

Description

jQuery.ajax() has multiple methods (functions) which walk an Object structure using the "in" operator, without implementing hasOwnProperty(). This creates potential collisions if Object.prototype is augmented by an unknown lib/framework (which is valid).

Change History (1)

comment:1 Changed 8 years ago by dmethvin

Resolution: wontfix
Status: newclosed

Sorry but we just don't support code that extends Object.prototype.

http://docs.jquery.com/Won't_Fix

Note: See TracTickets for help on using tickets.