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