2 "version": { "major": "1", "minor": "0" },
4 "domain": "SystemInfo",
5 "description": "The SystemInfo domain defines methods and events for querying low-level system information.",
12 { "name": "vendorId", "type": "number", "description": "PCI ID of the GPU vendor, if available; 0 otherwise." },
13 { "name": "deviceId", "type": "number", "description": "PCI ID of the GPU device, if available; 0 otherwise." },
14 { "name": "vendorString", "type": "string", "description": "String description of the GPU vendor, if the PCI ID is not available." },
15 { "name": "deviceString", "type": "string", "description": "String description of the GPU device, if the PCI ID is not available." }
17 "description": "Describes a single graphics processor (GPU)."
23 { "name": "devices", "type": "array", "items": { "$ref": "GPUDevice" }, "description": "The graphics devices on the system. Element 0 is the primary GPU." },
24 { "name": "auxAttributes", "type": "object", "optional": "true", "description": "An optional dictionary of additional GPU related attributes." },
25 { "name": "featureStatus", "type": "object", "optional": "true", "description": "An optional dictionary of graphics features and their status." },
26 { "name": "driverBugWorkarounds", "type": "array", "items": { "type": "string" }, "description": "An optional array of GPU driver bug workarounds." }
28 "description": "Provides information about the GPU(s) on the system."
35 "description": "Returns information about the system.",
37 { "name": "gpu", "$ref": "GPUInfo", "description": "Information about the GPUs on the system." },
38 { "name": "modelName", "type": "string", "description": "A platform-dependent description of the model of the machine. On Mac OS, this is, for example, 'MacBookPro'. Will be the empty string if not supported." },
39 { "name": "modelVersion", "type": "string", "description": "A platform-dependent description of the version of the machine. On Mac OS, this is, for example, '10.1'. Will be the empty string if not supported." }
41 "handlers": ["browser"]
46 "domain": "Tethering",
47 "description": "The Tethering domain defines methods and events for browser port binding.",
53 "description": "Request browser port binding.",
55 { "name": "port", "type": "integer", "description": "Port number to bind." }
57 "handlers": ["browser"]
62 "description": "Request browser port unbinding.",
64 { "name": "port", "type": "integer", "description": "Port number to unbind." }
66 "handlers": ["browser"]
72 "description": "Informs that port was successfully bound and got a specified connection id.",
74 {"name": "port", "type": "integer", "description": "Port number that was successfully bound." },
75 {"name": "connectionId", "type": "string", "description": "Connection id to be used." }
77 "handlers": ["browser"]