Comment #7 on issue 2453 by [email protected]: uncaught TypeError
http://code.google.com/p/v8/issues/detail?id=2453

Thanks for the root cause.
I was able to reproduce this error  in chrome as well.
i was able to reproduce this in chrome 18+ new v8 3.15.11.
The error is thrown from the below function in v8proxy.cpp
v8::Handle<v8::Value> V8Proxy::checkNewLegal(const v8::Arguments& args)
{
    if (ConstructorMode::current() == ConstructorMode::CreateNewObject)
        return throwError(TypeError, "Illegal constructor");
        
    return args.This();
}
if we disable this flag[r12415] this issue will not happen right.

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to