Skip to main content

Bug Tracker

Side navigation

#11409 closed bug (wontfix)

Opened February 28, 2012 02:37PM UTC

Closed February 28, 2012 05:25PM UTC

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

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

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).

Attachments (0)
Change History (1)

Changed February 28, 2012 05:25PM UTC by dmethvin comment:1

resolution: → wontfix
status: newclosed

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