OLD | NEW |
1 Tests correctness of promisified protocol commands. | 1 Tests correctness of promisified protocol commands. |
2 | 2 |
3 error: Request with id = 22 failed. {"message":"this is the error message"} | 3 error: Request with id = 21 failed. {"message":"this is the error message"} |
4 error: this is the error message | 4 error: this is the error message |
5 commandError: then result: null | 5 commandError: then result: null |
6 commandArgs0: then result: undefined | 6 commandArgs0: then result: undefined |
7 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs0' call must be a function but its type is 'number'. | 7 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs0' call must be a function but its type is 'number'. |
8 commandArgs0: catch result: {} | 8 commandArgs0: catch result: {} |
9 commandArgs1Rets0: then result: undefined | 9 commandArgs1Rets0: then result: undefined |
10 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs1Rets0' call must be a function but its type is 'number'. | 10 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs1Rets0' call must be a function but its type is 'number'. |
11 commandArgs1Rets0: catch result: {} | 11 commandArgs1Rets0: catch result: {} |
12 error: Protocol Error: Invalid type of argument 'arg1' for method 'Profiler.comm
andArgs1Rets0' call. It must be 'number' but it is 'string'. | 12 error: Protocol Error: Invalid type of argument 'arg1' for method 'Profiler.comm
andArgs1Rets0' call. It must be 'number' but it is 'string'. |
13 commandArgs1Rets0: catch result: {} | 13 commandArgs1Rets0: catch result: {} |
14 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs1Rets0' call. It must have the following arguments '[{"name":"arg1","type":"n
umber","optional":false}]'. | 14 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs1Rets0' call. It must have the following arguments '[{"name":"arg1","type":"n
umber","optional":false}]'. |
15 commandArgs1Rets0: catch result: {} | 15 commandArgs1Rets0: catch result: {} |
16 commandArgs1Rets1: then result: {"arg1":{"value1":234}} | 16 commandArgs1Rets1: then result: {"arg1":{"value1":234}} |
17 commandArgs1Rets1: then result: {"arg1":{"value1":234}} | 17 commandArgs1Rets1: then result: {"arg1":{"value1":234}} |
18 commandArgs3Rets3: then result: {"arg1":{},"arg2":345,"arg3":"alph"} | 18 commandArgs3Rets3: then result: {"arg1":{},"arg2":345,"arg3":"alph"} |
19 commandArgs3Rets3: then result: {"arg1":{},"arg2":345} | 19 commandArgs3Rets3: then result: {"arg1":{},"arg2":345} |
20 commandArgs3Rets3: then result: {"arg1":{},"arg3":"alph"} | 20 commandArgs3Rets3: then result: {"arg1":{},"arg3":"alph"} |
21 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. | 21 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. |
22 commandArgs3Rets3: catch result: {} | 22 commandArgs3Rets3: catch result: {} |
23 commandArgs3Rets3: then result: {"arg1":{}} | 23 commandArgs3Rets3: then result: {"arg1":{}} |
24 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs3Rets3' call. It must have the following arguments '[{"name":"arg1","type":"o
bject","optional":false},{"name":"arg2","type":"number","optional":true},{"name"
:"arg3","type":"string","optional":true}]'. | 24 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs3Rets3' call. It must have the following arguments '[{"name":"arg1","type":"o
bject","optional":false},{"name":"arg2","type":"number","optional":true},{"name"
:"arg3","type":"string","optional":true}]'. |
25 commandArgs3Rets3: catch result: {} | 25 commandArgs3Rets3: catch result: {} |
26 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. | 26 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. |
27 commandArgs3Rets3: catch result: {} | 27 commandArgs3Rets3: catch result: {} |
28 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. | 28 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. |
29 commandArgs3Rets3: catch result: {} | 29 commandArgs3Rets3: catch result: {} |
30 | 30 |
OLD | NEW |