| OLD | NEW |
| 1 { | 1 { |
| 2 "version": { "major": "1", "minor": "1" }, | 2 "version": { "major": "1", "minor": "1" }, |
| 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 1525 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1536 { | 1536 { |
| 1537 "name": "addDatabase", | 1537 "name": "addDatabase", |
| 1538 "parameters": [ | 1538 "parameters": [ |
| 1539 { "name": "database", "$ref": "Database" } | 1539 { "name": "database", "$ref": "Database" } |
| 1540 ] | 1540 ] |
| 1541 } | 1541 } |
| 1542 ] | 1542 ] |
| 1543 }, | 1543 }, |
| 1544 { | 1544 { |
| 1545 "domain": "IndexedDB", | 1545 "domain": "IndexedDB", |
| 1546 "dependencies": ["Runtime"], |
| 1546 "hidden": true, | 1547 "hidden": true, |
| 1547 "types": [ | 1548 "types": [ |
| 1548 { | 1549 { |
| 1549 "id": "DatabaseWithObjectStores", | 1550 "id": "DatabaseWithObjectStores", |
| 1550 "type": "object", | 1551 "type": "object", |
| 1551 "description": "Database with an array of object stores.", | 1552 "description": "Database with an array of object stores.", |
| 1552 "properties": [ | 1553 "properties": [ |
| 1553 { "name": "name", "type": "string", "description": "Database
name." }, | 1554 { "name": "name", "type": "string", "description": "Database
name." }, |
| 1554 { "name": "version", "type": "integer", "description": "Data
base version." }, | 1555 { "name": "version", "type": "integer", "description": "Data
base version." }, |
| 1555 { "name": "objectStores", "type": "array", "items": { "$ref"
: "ObjectStore" }, "description": "Object stores in this database." } | 1556 { "name": "objectStores", "type": "array", "items": { "$ref"
: "ObjectStore" }, "description": "Object stores in this database." } |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1598 { "name": "upper", "$ref": "Key", "optional": true, "descrip
tion": "Upper bound." }, | 1599 { "name": "upper", "$ref": "Key", "optional": true, "descrip
tion": "Upper bound." }, |
| 1599 { "name": "lowerOpen", "type": "boolean", "description": "If
true lower bound is open." }, | 1600 { "name": "lowerOpen", "type": "boolean", "description": "If
true lower bound is open." }, |
| 1600 { "name": "upperOpen", "type": "boolean", "description": "If
true upper bound is open." } | 1601 { "name": "upperOpen", "type": "boolean", "description": "If
true upper bound is open." } |
| 1601 ] | 1602 ] |
| 1602 }, | 1603 }, |
| 1603 { | 1604 { |
| 1604 "id": "DataEntry", | 1605 "id": "DataEntry", |
| 1605 "type": "object", | 1606 "type": "object", |
| 1606 "description": "Data entry.", | 1607 "description": "Data entry.", |
| 1607 "properties": [ | 1608 "properties": [ |
| 1608 { "name": "key", "type": "string", "description": "JSON-stri
ngified key object." }, | 1609 { "name": "key", "$ref": "Runtime.RemoteObject", "descriptio
n": "Key object." }, |
| 1609 { "name": "primaryKey", "type": "string", "description": "JS
ON-stringified primary key object." }, | 1610 { "name": "primaryKey", "$ref": "Runtime.RemoteObject", "des
cription": "Primary key object." }, |
| 1610 { "name": "value", "type": "string", "description": "JSON-st
ringified value object." } | 1611 { "name": "value", "$ref": "Runtime.RemoteObject", "descript
ion": "Value object." } |
| 1611 ] | 1612 ] |
| 1612 }, | 1613 }, |
| 1613 { | 1614 { |
| 1614 "id": "KeyPath", | 1615 "id": "KeyPath", |
| 1615 "type": "object", | 1616 "type": "object", |
| 1616 "description": "Key path.", | 1617 "description": "Key path.", |
| 1617 "properties": [ | 1618 "properties": [ |
| 1618 { "name": "type", "type": "string", "enum": ["null", "string
", "array"], "description": "Key path type." }, | 1619 { "name": "type", "type": "string", "enum": ["null", "string
", "array"], "description": "Key path type." }, |
| 1619 { "name": "string", "type": "string", "optional": true, "des
cription": "String value." }, | 1620 { "name": "string", "type": "string", "optional": true, "des
cription": "String value." }, |
| 1620 { "name": "array", "type": "array", "optional": true, "items
": { "type": "string" }, "description": "Array value." } | 1621 { "name": "array", "type": "array", "optional": true, "items
": { "type": "string" }, "description": "Array value." } |
| (...skipping 2592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4213 "parameters": [ | 4214 "parameters": [ |
| 4214 { "name": "origin", "type": "string", "description": "Securi
ty origin." }, | 4215 { "name": "origin", "type": "string", "description": "Securi
ty origin." }, |
| 4215 { "name": "storageTypes", "type": "string", "description": "
Comma separated origin names." } | 4216 { "name": "storageTypes", "type": "string", "description": "
Comma separated origin names." } |
| 4216 ], | 4217 ], |
| 4217 "description": "Clears storage for origin.", | 4218 "description": "Clears storage for origin.", |
| 4218 "handlers": ["browser"] | 4219 "handlers": ["browser"] |
| 4219 } | 4220 } |
| 4220 ] | 4221 ] |
| 4221 }, | 4222 }, |
| 4222 { | 4223 { |
| 4224 "domain": "Log", |
| 4225 "description": "Provides access to log entries.", |
| 4226 "dependencies": ["Runtime", "Network", "Worker"], |
| 4227 "hidden": true, |
| 4228 "types": [ |
| 4229 { |
| 4230 "id": "LogEntry", |
| 4231 "type": "object", |
| 4232 "description": "Log entry.", |
| 4233 "properties": [ |
| 4234 { "name": "source", "type": "string", "enum": ["xml", "javas
cript", "network", "storage", "appcache", "rendering", "security", "deprecation"
, "worker", "other"], "description": "Log entry source." }, |
| 4235 { "name": "level", "type": "string", "enum": ["log", "warnin
g", "error", "debug", "info"], "description": "Log entry severity." }, |
| 4236 { "name": "text", "type": "string", "description": "Logged t
ext." }, |
| 4237 { "name": "timestamp", "$ref": "Runtime.Timestamp", "descrip
tion": "Timestamp when this entry was added." }, |
| 4238 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the resource if known." }, |
| 4239 { "name": "lineNumber", "type": "integer", "optional": true,
"description": "Line number in the resource." }, |
| 4240 { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optio
nal": true, "description": "JavaScript stack trace." }, |
| 4241 { "name": "networkRequestId", "$ref": "Network.RequestId", "
optional": true, "description": "Identifier of the network request associated wi
th this entry." }, |
| 4242 { "name": "workerId", "type": "string", "optional": true, "d
escription": "Identifier of the worker associated with this entry." } |
| 4243 ] |
| 4244 } |
| 4245 ], |
| 4246 "commands": [ |
| 4247 { |
| 4248 "name": "enable", |
| 4249 "description": "Enables log domain, sends the entries collected
so far to the client by means of the <code>entryAdded</code> notification." |
| 4250 }, |
| 4251 { |
| 4252 "name": "disable", |
| 4253 "description": "Disables log domain, prevents further log entrie
s from being reported to the client." |
| 4254 }, |
| 4255 { |
| 4256 "name": "clear", |
| 4257 "description": "Clears the log." |
| 4258 } |
| 4259 ], |
| 4260 "events": [ |
| 4261 { |
| 4262 "name": "entryAdded", |
| 4263 "parameters": [ |
| 4264 { "name": "entry", "$ref": "LogEntry", "description": "The e
ntry." } |
| 4265 ], |
| 4266 "description": "Issued when new message was logged." |
| 4267 } |
| 4268 ] |
| 4269 }, |
| 4270 { |
| 4223 "domain": "Browser", | 4271 "domain": "Browser", |
| 4224 "description": "The Browser domain allows listing, creating, activating
and attaching to the targets.", | 4272 "description": "The Browser domain allows listing, creating, activating
and attaching to the targets.", |
| 4225 "hidden": true, | 4273 "hidden": true, |
| 4226 "types": [ | 4274 "types": [ |
| 4227 { | 4275 { |
| 4228 "id": "BrowserContextID", | 4276 "id": "BrowserContextID", |
| 4229 "type": "string" | 4277 "type": "string" |
| 4230 }, | 4278 }, |
| 4231 { | 4279 { |
| 4232 "id": "TargetID", | 4280 "id": "TargetID", |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4406 "description": "Informs that port was successfully bound and got
a specified connection id.", | 4454 "description": "Informs that port was successfully bound and got
a specified connection id.", |
| 4407 "parameters": [ | 4455 "parameters": [ |
| 4408 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, | 4456 {"name": "port", "type": "integer", "description": "Port num
ber that was successfully bound." }, |
| 4409 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } | 4457 {"name": "connectionId", "type": "string", "description": "C
onnection id to be used." } |
| 4410 ], | 4458 ], |
| 4411 "handlers": ["browser"] | 4459 "handlers": ["browser"] |
| 4412 } | 4460 } |
| 4413 ] | 4461 ] |
| 4414 }] | 4462 }] |
| 4415 } | 4463 } |
| OLD | NEW |