Commit df21d63a authored by Paul Irish's avatar Paul Irish Committed by Commit Bot

DevTools protocol: Format descriptions with code backticks

Change-Id: I30afa26406d7313a220fada540f211026bf255f9
Reviewed-on: https://chromium-review.googlesource.com/985963Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
Commit-Queue: Paul Irish <paulirish@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547055}
parent 9943f625
......@@ -10226,7 +10226,7 @@
},
{
"name": "headerTemplate",
"description": "HTML template for the print header. Should be valid HTML markup with following\nclasses used to inject printing values into them:\n- date - formatted print date\n- title - document title\n- url - document location\n- pageNumber - current page number\n- totalPages - total pages in the document\n\nFor example, <span class=title></span> would generate span containing the title.",
"description": "HTML template for the print header. Should be valid HTML markup with following\nclasses used to inject printing values into them:\n- `date`: formatted print date\n- `title`: document title\n- `url`: document location\n- `pageNumber`: current page number\n- `totalPages`: total pages in the document\n\nFor example, `<span class=title></span>` would generate span containing the title.",
"optional": true,
"type": "string"
},
......@@ -11130,7 +11130,7 @@
},
{
"name": "setOverrideCertificateErrors",
"description": "Enable/disable overriding certificate errors. If enabled, all certificate error events need to\nbe handled by the DevTools client and should be answered with handleCertificateError commands.",
"description": "Enable/disable overriding certificate errors. If enabled, all certificate error events need to\nbe handled by the DevTools client and should be answered with `handleCertificateError` commands.",
"deprecated": true,
"parameters": [
{
......@@ -11144,7 +11144,7 @@
"events": [
{
"name": "certificateError",
"description": "There is a certificate error. If overriding certificate errors is enabled, then it should be\nhandled with the handleCertificateError command. Note: this event does not fire if the\ncertificate error has been allowed internally. Only one client per target should override\ncertificate errors at the same time.",
"description": "There is a certificate error. If overriding certificate errors is enabled, then it should be\nhandled with the `handleCertificateError` command. Note: this event does not fire if the\ncertificate error has been allowed internally. Only one client per target should override\ncertificate errors at the same time.",
"deprecated": true,
"parameters": [
{
......
......@@ -4676,13 +4676,13 @@ domain Page
optional boolean ignoreInvalidPageRanges
# HTML template for the print header. Should be valid HTML markup with following
# classes used to inject printing values into them:
# - date - formatted print date
# - title - document title
# - url - document location
# - pageNumber - current page number
# - totalPages - total pages in the document
# - `date`: formatted print date
# - `title`: document title
# - `url`: document location
# - `pageNumber`: current page number
# - `totalPages`: total pages in the document
#
# For example, <span class=title></span> would generate span containing the title.
# For example, `<span class=title></span>` would generate span containing the title.
optional string headerTemplate
# HTML template for the print footer. Should use the same format as the `headerTemplate`.
optional string footerTemplate
......@@ -5118,14 +5118,14 @@ domain Security
CertificateErrorAction action
# Enable/disable overriding certificate errors. If enabled, all certificate error events need to
# be handled by the DevTools client and should be answered with handleCertificateError commands.
# be handled by the DevTools client and should be answered with `handleCertificateError` commands.
deprecated command setOverrideCertificateErrors
parameters
# If true, certificate errors will be overridden.
boolean override
# There is a certificate error. If overriding certificate errors is enabled, then it should be
# handled with the handleCertificateError command. Note: this event does not fire if the
# handled with the `handleCertificateError` command. Note: this event does not fire if the
# certificate error has been allowed internally. Only one client per target should override
# certificate errors at the same time.
deprecated event certificateError
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment