[v8-dev] Re: Correctly check for native error objects. (issue 10392158)

2012-05-21 Thread Erik Arvidsson
Did you get my comment on the code? http://codereview.chromium.org/10388208/#msg2 On Mon, May 21, 2012 at 12:58 AM, Yang Guo wrote: > I created a CL for this: http://codereview.chromium.org/10388208/ > > The weird thing is that this test does not fail prior to the original CL > (Correctly check

[v8-dev] Re: Correctly check for native error objects. (issue 10392158)

2012-05-21 Thread Yang Guo
I created a CL for this: http://codereview.chromium.org/10388208/ The weird thing is that this test does not fail prior to the original CL (Correctly check for native error objects.) Yang On Fri, May 18, 2012 at 7:56 PM, Erik Arvidsson wrote: > On Fri, May 18, 2012 at 10:28 AM, Yang Guo wrot

[v8-dev] Re: Correctly check for native error objects. (issue 10392158)

2012-05-18 Thread Erik Arvidsson
On Fri, May 18, 2012 at 10:28 AM, Yang Guo wrote: > We do have a testing framework with the cctests with which we can test > things from the C++ side. Maybe we can mimick the bindings code there. This does not need binding code to be tested. Here is a pseudo test. function MyError(name, message)

[v8-dev] Re: Correctly check for native error objects. (issue 10392158)

2012-05-18 Thread Yang Guo
We do have a testing framework with the cctests with which we can test things from the C++ side. Maybe we can mimick the bindings code there. Yang On May 18, 2012 7:07 PM, wrote: > LGTM > > > Thanks. > > It would have been good have some tests for this. I'm not sure how you > test what > is in t

[v8-dev] Re: Correctly check for native error objects. (issue 10392158)

2012-05-18 Thread arv
LGTM Thanks. It would have been good have some tests for this. I'm not sure how you test what is in the v8::Message object though? https://chromiumcodereview.appspot.com/10392158/ -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev