7bbea08f66
This refactoring makes it easier to write advanced tests and gives full control over what's happening to the test code. It also forces description for every test. BUG=none Review-Url: https://codereview.chromium.org/2891213002 Cr-Commit-Position: refs/heads/master@{#45412}
19 lines
890 B
Plaintext
19 lines
890 B
Plaintext
Tests that asm-js scripts produce correct stack
|
|
Paused on 'debugger;'
|
|
Number of frames: 5
|
|
- [0] {"functionName":"call_debugger","function_lineNumber":13,"function_columnNumber":24,"lineNumber":14,"columnNumber":4}
|
|
- [1] {"functionName":"callDebugger","lineNumber":5,"columnNumber":6}
|
|
- [2] {"functionName":"redirectFun","lineNumber":8,"columnNumber":6}
|
|
- [3] {"functionName":"testFunction","function_lineNumber":0,"function_columnNumber":21,"lineNumber":18,"columnNumber":2}
|
|
- [4] {"functionName":"","function_lineNumber":0,"function_columnNumber":0,"lineNumber":0,"columnNumber":0}
|
|
Getting v8-generated stack trace...
|
|
Result of evaluate (string):
|
|
Error: getting stack trace
|
|
-- skipped --
|
|
at call_debugger (<anonymous>:15:5)
|
|
at callDebugger (<anonymous>:6:7)
|
|
at redirectFun (<anonymous>:9:7)
|
|
at testFunction (<anonymous>:19:3)
|
|
at <anonymous>:1:1
|
|
Finished!
|