Bug Tracker

Opened 5 years ago

Closed 5 years ago

#14551 closed bug (notabug)

$.extend does not work with 'set' propery

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

Description

In attempting to $.extend a jQuery object that utilizes 'set Property(value)', the jQuery object does not have the same functionality as the second object.

http://jsfiddle.net/83BBD/2/

It does not give an error. The 'get Property()' works on the jQuery object after $.extend. The naming of the Property has no effect on the issue.

This has been tested in jsfiddle, Firefox 25 and Chrome version 31.0.1650.57.

I can confirm that the issue persists in jQuery 1.10.2 - jsFiddle does not allow it as an option though.

Change History (1)

comment:1 Changed 5 years ago by Rick Waldron

Resolution: notabug
Status: newclosed

This can't be supported in all browsers that jQuery 1.x supports, as it requires the Object meta APIs: Object.getOwnPropertyNames, Object.getOwnPropertyDescriptor and Object.defineProperties.

Note: See TracTickets for help on using tickets.