Issue 29 in google-js-test: "TypeError: Object T has no method 'isNative'" in newer versions of v8

9 views
Skip to first unread message

google-...@googlecode.com

unread,
Feb 25, 2013, 1:50:01 PM2/25/13
to google-...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 29 by ryan.stu...@gmail.com: "TypeError: Object T has no
method 'isNative'" in newer versions of v8
http://code.google.com/p/google-js-test/issues/detail?id=29

What steps will reproduce the problem?
1. Run test in recent chrome (I used 26.0.1410.12)
2. Throw exception from code under test

What is the expected output? What do you see instead?

Should see failure stack in ui, instead I see "TypeError: Object T has no
method 'isNative'".

What version of the product are you using? On what operating system?

Chrome 26.0.1410.12 (Official Build 183726) dev

Please provide any additional information below.

The trick in gjstest.internal.getErrorStack of temporarily overriding
Error.prepareStackTrace to get a structured stacktrace for an existing
exception object does not work in recent v8 version. It seems you now need
to have getErrorStack set when the exception is created (which seems
reasonable). So .stack is a string, not a structured exception, and
iterating over it does bad things (like calling isNative on a string).



--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

google-...@googlecode.com

unread,
Mar 4, 2013, 3:56:02 PM3/4/13
to google-...@googlegroups.com

Comment #1 on issue 29 by jaco...@google.com: "TypeError: Object T has no
method 'isNative'" in newer versions of v8
http://code.google.com/p/google-js-test/issues/detail?id=29

Could you try again as of revision 24f6e65a7844?
Reply all
Reply to author
Forward
0 new messages