2017-05-19 00:35:45 +00:00
|
|
|
Tests that protocol works with different locales
|
2017-01-17 20:21:38 +00:00
|
|
|
|
2016-10-13 20:31:17 +00:00
|
|
|
Running test: consoleLogWithDefaultLocale
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
description : 239
|
|
|
|
type : number
|
|
|
|
value : 239
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 8
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: consoleTimeWithCommaAsSeparator
|
|
|
|
set locale to fr_CA.UTF-8 (has comma as separator)
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
2017-01-17 20:21:38 +00:00
|
|
|
value : a: 0.001ms
|
2016-10-13 20:31:17 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
2017-01-17 20:21:38 +00:00
|
|
|
columnNumber : 8
|
2016-10-13 20:31:17 +00:00
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
2017-01-25 22:23:18 +00:00
|
|
|
type : timeEnd
|
2016-10-13 20:31:17 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: consoleLogWithCommaAsSeparator
|
|
|
|
set locale to fr_CA.UTF-8 (has comma as separator)
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
description : 239
|
|
|
|
type : number
|
|
|
|
value : 239
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 8
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: consoleTimeWithCommaAfterConsoleLog
|
|
|
|
set locale to fr_CA.UTF-8 (has comma as separator)
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
description : 239
|
|
|
|
type : number
|
|
|
|
value : 239
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 8
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
2017-01-17 20:21:38 +00:00
|
|
|
value : a: 0.001ms
|
2016-10-13 20:31:17 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
2017-01-17 20:21:38 +00:00
|
|
|
columnNumber : 8
|
2016-10-13 20:31:17 +00:00
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
2017-01-25 22:23:18 +00:00
|
|
|
type : timeEnd
|
2016-10-13 20:31:17 +00:00
|
|
|
}
|
|
|
|
}
|