Last Comment Bug 642576 - Create a universal constructor check for functions
: Create a universal constructor check for functions
Product: Core
Classification: Components
Component: JavaScript Engine (show other bugs)
: Trunk
: All All
-- normal (vote)
: ---
Assigned To: general
: Jason Orendorff [:jorendorff]
Depends on:
  Show dependency treegraph
Reported: 2011-03-17 13:37 PDT by Tom Schuster [:evilpie]
Modified: 2011-09-10 01:19 PDT (History)
2 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image Tom Schuster [:evilpie] 2011-03-17 13:37:31 PDT
Currently a function with the constructor flags, has to be native, this should apply to interpreted functions as well.

In particular we want to remove "isNative || isFunctionPrototype"
Comment 1 User image Tom Schuster [:evilpie] 2011-09-10 01:19:45 PDT
"isInterpretedConstructor" does what we want.

Note You need to log in before you can comment on or make changes to this bug.