Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(316)

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/inspector-backend-commands-expected.txt

Issue 2701763002: DevTools: run user callback inside promise for promisified domains (Closed)
Patch Set: rebaseline test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/protocol/InspectorBackend.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Tests correctness of promisified protocol commands. 1 Tests correctness of promisified protocol commands.
2 2
3 error: Request Profiler.commandError failed. {"message":"this is the error messa ge"} 3 error: Request Profiler.commandError failed. {"message":"this is the error messa ge"}
4 commandError: then result: ["this is the error message"] 4 commandError: then result: ["this is the error message"]
5 commandArgs0: then result: [null] 5 commandArgs0: then result: [null]
6 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr gs0' call must be a function but its type is 'number'. 6 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr gs0' call must be a function but its type is 'number'.
7 commandArgs0: catch result: {} 7 commandArgs0: then result: ["Protocol Error: Optional callback argument for meth od 'Profiler.commandArgs0' call must be a function but its type is 'number'."]
8 commandArgs1Rets0: then result: [null] 8 commandArgs1Rets0: then result: [null]
9 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr gs1Rets0' call must be a function but its type is 'number'. 9 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr gs1Rets0' call must be a function but its type is 'number'.
10 commandArgs1Rets0: catch result: {} 10 commandArgs1Rets0: then result: ["Protocol Error: Optional callback argument for method 'Profiler.commandArgs1Rets0' call must be a function but its type is 'nu mber'."]
11 error: Protocol Error: Invalid type of argument 'arg1' for method 'Profiler.comm andArgs1Rets0' call. It must be 'number' but it is 'string'. 11 error: Protocol Error: Invalid type of argument 'arg1' for method 'Profiler.comm andArgs1Rets0' call. It must be 'number' but it is 'string'.
12 commandArgs1Rets0: catch result: {} 12 commandArgs1Rets0: then result: ["Protocol Error: Invalid type of argument 'arg1 ' for method 'Profiler.commandArgs1Rets0' call. It must be 'number' but it is 's tring'."]
13 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}]'. 13 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 commandArgs1Rets0: catch result: {} 14 commandArgs1Rets0: then result: ["Protocol Error: Invalid number of arguments fo r method 'Profiler.commandArgs1Rets0' call. It must have the following arguments '[{\"name\":\"arg1\",\"type\":\"number\",\"optional\":false}]'."]
15 commandArgs1Rets1: then result: [null,{"value1":234}] 15 commandArgs1Rets1: then result: [null,{"value1":234}]
16 commandArgs1Rets1: then result: [null,{"value1":234}] 16 commandArgs1Rets1: then result: [null,{"value1":234}]
17 commandArgs3Rets3: then result: [null,{},345,"alph"] 17 commandArgs3Rets3: then result: [null,{},345,"alph"]
18 commandArgs3Rets3: then result: [null,{},345,null] 18 commandArgs3Rets3: then result: [null,{},345,null]
19 commandArgs3Rets3: then result: [null,{},null,"alph"] 19 commandArgs3Rets3: then result: [null,{},null,"alph"]
20 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm andArgs3Rets3' call. It must be 'number' but it is 'string'. 20 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm andArgs3Rets3' call. It must be 'number' but it is 'string'.
21 commandArgs3Rets3: catch result: {} 21 commandArgs3Rets3: then result: ["Protocol Error: Invalid type of argument 'arg2 ' for method 'Profiler.commandArgs3Rets3' call. It must be 'number' but it is 's tring'."]
22 commandArgs3Rets3: then result: [null,{},null,null] 22 commandArgs3Rets3: then result: [null,{},null,null]
23 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}]'. 23 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 commandArgs3Rets3: catch result: {} 24 commandArgs3Rets3: then result: ["Protocol Error: Invalid number of arguments fo r method 'Profiler.commandArgs3Rets3' call. It must have the following arguments '[{\"name\":\"arg1\",\"type\":\"object\",\"optional\":false},{\"name\":\"arg2\" ,\"type\":\"number\",\"optional\":true},{\"name\":\"arg3\",\"type\":\"string\",\ "optional\":true}]'."]
25 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm andArgs3Rets3' call. It must be 'number' but it is 'string'. 25 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm andArgs3Rets3' call. It must be 'number' but it is 'string'.
26 commandArgs3Rets3: catch result: {} 26 commandArgs3Rets3: then result: ["Protocol Error: Invalid type of argument 'arg2 ' for method 'Profiler.commandArgs3Rets3' call. It must be 'number' but it is 's tring'."]
27 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm andArgs3Rets3' call. It must be 'number' but it is 'string'. 27 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm andArgs3Rets3' call. It must be 'number' but it is 'string'.
28 commandArgs3Rets3: catch result: {} 28 commandArgs3Rets3: then result: ["Protocol Error: Invalid type of argument 'arg2 ' for method 'Profiler.commandArgs3Rets3' call. It must be 'number' but it is 's tring'."]
29 29
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/protocol/InspectorBackend.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698