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

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

Issue 14320022: Warn developers about deprecated features only once per page-load. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: OwnPtr<BitVector> -> BitVector Created 7 years, 8 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
« no previous file with comments | « Source/devtools/front_end/ConsoleModel.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
730 }, 730 },
731 { 731 {
732 "domain": "Console", 732 "domain": "Console",
733 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.", 733 "description": "Console domain defines methods and events for interactio n with the JavaScript console. Console collects messages created by means of the <a href='http://getfirebug.com/wiki/index.php/Console_API'>JavaScript Console A PI</a>. One needs to enable this domain using <code>enable</code> command in ord er to start receiving the console messages. Browser collects messages issued whi le console domain is not enabled as well and reports them using <code>messageAdd ed</code> notification upon enabling.",
734 "types": [ 734 "types": [
735 { 735 {
736 "id": "ConsoleMessage", 736 "id": "ConsoleMessage",
737 "type": "object", 737 "type": "object",
738 "description": "Console message.", 738 "description": "Console message.",
739 "properties": [ 739 "properties": [
740 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other"], "description": "Message source." }, 740 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." },
741 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug"], "description": "Message severity." }, 741 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug"], "description": "Message severity." },
742 { "name": "text", "type": "string", "description": "Message text." }, 742 { "name": "text", "type": "string", "description": "Message text." },
743 { "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." }, 743 { "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." },
744 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." }, 744 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." },
745 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." }, 745 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." },
746 { "name": "repeatCount", "type": "integer", "optional": true , "description": "Repeat count for repeated messages." }, 746 { "name": "repeatCount", "type": "integer", "optional": true , "description": "Repeat count for repeated messages." },
747 { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i n case of the formatted message." }, 747 { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i n case of the formatted message." },
748 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } , 748 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } ,
749 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." } 749 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." }
750 ] 750 ]
(...skipping 2924 matching lines...) Expand 10 before | Expand all | Expand 10 after
3675 ] 3675 ]
3676 } 3676 }
3677 ], 3677 ],
3678 "events": [ 3678 "events": [
3679 { 3679 {
3680 "name": "layerTreeDidChange" 3680 "name": "layerTreeDidChange"
3681 } 3681 }
3682 ] 3682 ]
3683 }] 3683 }]
3684 } 3684 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/ConsoleModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698