(nativeFunc)
| 264 | // Tests that a native conversion function is included in the |
| 265 | // stack trace. |
| 266 | function testTraceNativeConversion(nativeFunc) { |
| 267 | var nativeFuncName = nativeFunc.name; |
| 268 | try { |
| 269 | nativeFunc(thrower); |
| 270 | assertUnreachable(nativeFuncName); |
| 271 | } catch (e) { |
| 272 | assertTrue(e.stack.indexOf(nativeFuncName) >= 0, nativeFuncName); |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | |
| 277 | function testOmittedBuiltin(throwing, omitted) { |
no test coverage detected