Modify ↓
Ticket #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: | ||
| Blocking: | Blocked by: |
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
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Sorry but we just don't support code that extends Object.prototype.
http://docs.jquery.com/Won't_Fix