Skip to main content

Bug Tracker

Side navigation

#5493 closed enhancement (fixed)

Opened November 12, 2009 05:01AM UTC

Closed December 10, 2009 04:25AM UTC

isObjectLiteral to work correctly with custom objects with empty prototype

Reported by: rkatic Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: isObjectLiteral, extend Cc:
Blocked by: Blocking:
Description

At cost of 2 additional function calls, we have now support for custom objects which prototype is not changed.

If someone is defining all methods inside the constructor F, isObjectLiteral(new F) will now return false.

Patch

Attachments (0)
Change History (2)

Changed November 12, 2009 03:51PM UTC by rkatic comment:1

The patch is already committed fixing #5494.

Just close it, thanks.

Changed December 10, 2009 04:25AM UTC by john comment:2

milestone: → 1.4
resolution: → fixed
status: newclosed