summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/runtime/exception-thrown-expected.txt
blob: 7c58a0421e0881a90ae648c73fa944a91c3a3e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Check that exceptionThrown is supported by test runner.
{
    method : Runtime.exceptionThrown
    params : {
        exceptionDetails : {
            columnNumber : 2
            exception : {
                className : Error
                description : Error     at <anonymous>:2:9
                objectId : <objectId>
                preview : {
                    description : Error     at <anonymous>:2:9
                    overflow : false
                    properties : [
                        [0] : {
                            name : stack
                            type : string
                            value : Error     at <anonymous>:2:9
                        }
                    ]
                    subtype : error
                    type : object
                }
                subtype : error
                type : object
            }
            exceptionId : <exceptionId>
            executionContextId : <executionContextId>
            lineNumber : 1
            stackTrace : {
                callFrames : [
                    [0] : {
                        columnNumber : 8
                        functionName : 
                        lineNumber : 1
                        scriptId : <scriptId>
                        url : 
                    }
                ]
            }
            text : Uncaught Error
        }
        timestamp : <timestamp>
    }
}
{
    method : Runtime.exceptionThrown
    params : {
        exceptionDetails : {
            columnNumber : 1
            exception : {
                className : SyntaxError
                description : SyntaxError: Unexpected token }
                objectId : <objectId>
                preview : {
                    description : SyntaxError: Unexpected token }
                    overflow : false
                    properties : [
                        [0] : {
                            name : stack
                            type : string
                            value : SyntaxError: Unexpected token }
                        }
                        [1] : {
                            name : message
                            type : string
                            value : Unexpected token }
                        }
                    ]
                    subtype : error
                    type : object
                }
                subtype : error
                type : object
            }
            exceptionId : <exceptionId>
            executionContextId : <executionContextId>
            lineNumber : 0
            scriptId : <scriptId>
            text : Uncaught SyntaxError: Unexpected token }
        }
        timestamp : <timestamp>
    }
}
{
    method : Runtime.exceptionThrown
    params : {
        exceptionDetails : {
            columnNumber : 2
            exception : {
                description : 239
                type : number
                value : 239
            }
            exceptionId : <exceptionId>
            executionContextId : <executionContextId>
            lineNumber : 1
            stackTrace : {
                callFrames : [
                    [0] : {
                        columnNumber : 2
                        functionName : 
                        lineNumber : 1
                        scriptId : <scriptId>
                        url : 
                    }
                ]
            }
            text : Uncaught 239
        }
        timestamp : <timestamp>
    }
}