292e96709c
Console methods should never throw an exception. R=jgruber@chromium.org Bug: chromium:736302 Change-Id: I05791b366d46a43b2a78825cbb8a82bb049110e6 Reviewed-on: https://chromium-review.googlesource.com/567434 Reviewed-by: Jakob Gruber <jgruber@chromium.org> Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Cr-Commit-Position: refs/heads/master@{#46573}
83 lines
1.8 KiB
Plaintext
83 lines
1.8 KiB
Plaintext
crbug.com/736302
|
|
|
|
Running test: testThrowException
|
|
{
|
|
method : Runtime.consoleAPICalled
|
|
params : {
|
|
args : [
|
|
[0] : {
|
|
type : string
|
|
value : 1
|
|
}
|
|
]
|
|
executionContextId : <executionContextId>
|
|
stackTrace : {
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 12
|
|
functionName :
|
|
lineNumber : 1
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
}
|
|
timestamp : <timestamp>
|
|
type : count
|
|
}
|
|
}
|
|
|
|
Running test: testCustomName
|
|
{
|
|
method : Runtime.consoleAPICalled
|
|
params : {
|
|
args : [
|
|
[0] : {
|
|
type : string
|
|
value : [object MyObject]: 1
|
|
}
|
|
]
|
|
executionContextId : <executionContextId>
|
|
stackTrace : {
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 12
|
|
functionName :
|
|
lineNumber : 1
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
}
|
|
timestamp : <timestamp>
|
|
type : count
|
|
}
|
|
}
|
|
|
|
Running test: testObject
|
|
{
|
|
method : Runtime.consoleAPICalled
|
|
params : {
|
|
args : [
|
|
[0] : {
|
|
type : string
|
|
value : [object Object]: 1
|
|
}
|
|
]
|
|
executionContextId : <executionContextId>
|
|
stackTrace : {
|
|
callFrames : [
|
|
[0] : {
|
|
columnNumber : 12
|
|
functionName :
|
|
lineNumber : 1
|
|
scriptId : <scriptId>
|
|
url :
|
|
}
|
|
]
|
|
}
|
|
timestamp : <timestamp>
|
|
type : count
|
|
}
|
|
}
|