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

Side by Side Diff: Source/devtools/protocol.json

Issue 24027002: DevTools: implement console.timeline/timelineEnd. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "0" }, 2 "version": { "major": "1", "minor": "0" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Inspector", 4 "domain": "Inspector",
5 "hidden": true, 5 "hidden": true,
6 "types": [], 6 "types": [],
7 "commands": [ 7 "commands": [
8 { 8 {
9 "name": "enable", 9 "name": "enable",
10 "description": "Enables inspector domain notifications." 10 "description": "Enables inspector domain notifications."
(...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 "description": "Number of seconds since epoch." 764 "description": "Number of seconds since epoch."
765 }, 765 },
766 { 766 {
767 "id": "ConsoleMessage", 767 "id": "ConsoleMessage",
768 "type": "object", 768 "type": "object",
769 "description": "Console message.", 769 "description": "Console message.",
770 "properties": [ 770 "properties": [
771 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." }, 771 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." },
772 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug"], "description": "Message severity." }, 772 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug"], "description": "Message severity." },
773 { "name": "text", "type": "string", "description": "Message text." }, 773 { "name": "text", "type": "string", "description": "Message text." },
774 { "name": "type", "type": "string", "optional": true, "enum" : ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupC ollapsed", "endGroup", "assert", "timing", "profile", "profileEnd"], "descriptio n": "Console message type." }, 774 { "name": "type", "type": "string", "optional": true, "enum" : ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupC ollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Conso le message type." },
775 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." }, 775 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." },
776 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." }, 776 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." },
777 { "name": "column", "type": "integer", "optional": true, "de scription": "Column number in the resource that generated this message." }, 777 { "name": "column", "type": "integer", "optional": true, "de scription": "Column number in the resource that generated this message." },
778 { "name": "repeatCount", "type": "integer", "optional": true , "description": "Repeat count for repeated messages." }, 778 { "name": "repeatCount", "type": "integer", "optional": true , "description": "Repeat count for repeated messages." },
779 { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i n case of the formatted message." }, 779 { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i n case of the formatted message." },
780 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } , 780 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } ,
781 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." }, 781 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." },
782 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp, when this message was fired.", "hidden": true } 782 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp, when this message was fired.", "hidden": true }
783 ] 783 ]
784 }, 784 },
(...skipping 2022 matching lines...) Expand 10 before | Expand all | Expand 10 after
2807 "description": "Stops capturing instrumentation events." 2807 "description": "Stops capturing instrumentation events."
2808 } 2808 }
2809 ], 2809 ],
2810 "events": [ 2810 "events": [
2811 { 2811 {
2812 "name": "eventRecorded", 2812 "name": "eventRecorded",
2813 "parameters": [ 2813 "parameters": [
2814 { "name": "record", "$ref": "TimelineEvent", "description": "Timeline event record data." } 2814 { "name": "record", "$ref": "TimelineEvent", "description": "Timeline event record data." }
2815 ], 2815 ],
2816 "description": "Fired for every instrumentation event while time line is started." 2816 "description": "Fired for every instrumentation event while time line is started."
2817 },
2818 {
2819 "name": "started",
2820 "parameters": [
2821 { "name": "consoleTimeline", "type": "boolean", "optional": true, "description": "If specified, identifies that timeline was started using c onsole.timeline() call." }
2822 ],
2823 "description": "Fired when timeline is started.",
2824 "hidden": true
2825 },
2826 {
2827 "name": "stopped",
2828 "parameters": [
2829 { "name": "consoleTimeline", "type": "boolean", "optional": true, "description": "If specified, identifies that timeline was started using c onsole.timeline() call." }
2830 ],
2831 "description": "Fired when timeline is stopped.",
2832 "hidden": true
2817 } 2833 }
2818 ] 2834 ]
2819 }, 2835 },
2820 { 2836 {
2821 "domain": "Debugger", 2837 "domain": "Debugger",
2822 "description": "Debugger domain exposes JavaScript debugging capabilitie s. It allows setting and removing breakpoints, stepping through execution, explo ring stack traces, etc.", 2838 "description": "Debugger domain exposes JavaScript debugging capabilitie s. It allows setting and removing breakpoints, stepping through execution, explo ring stack traces, etc.",
2823 "types": [ 2839 "types": [
2824 { 2840 {
2825 "id": "BreakpointId", 2841 "id": "BreakpointId",
2826 "type": "string", 2842 "type": "string",
(...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after
3932 "parameters": [ 3948 "parameters": [
3933 { "name": "value", "type": "array", "items": { "type": "obje ct" } } 3949 { "name": "value", "type": "array", "items": { "type": "obje ct" } }
3934 ] 3950 ]
3935 }, 3951 },
3936 { 3952 {
3937 "name": "tracingComplete" 3953 "name": "tracingComplete"
3938 } 3954 }
3939 ] 3955 ]
3940 }] 3956 }]
3941 } 3957 }
OLDNEW
« Source/devtools/front_end/TimelineManager.js ('K') | « Source/devtools/front_end/TimelinePanel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698