Bug Tracker

Modify

Ticket #11409 (closed bug: wontfix)

Opened 15 months ago

Last modified 15 months ago

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

comment:1 Changed 15 months ago by dmethvin

  • Status changed from new to closed
  • Resolution set to wontfix

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

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.