Skip to content

Instantly share code, notes, and snippets.

@Gozala
Created April 29, 2014 20:26
Show Gist options
  • Save Gozala/6a31016883c5d83dbf18 to your computer and use it in GitHub Desktop.
Save Gozala/6a31016883c5d83dbf18 to your computer and use it in GitHub Desktop.
{
"types": {
"root": {
"category": "actor",
"typeName": "root",
"methods": [
{
"name": "echo",
"request": {
"string": { "_arg": 0, "type": "string" }
},
"response": {
"string": { "_retval": "string" }
}
},
{
"name": "listTabs",
"request": {},
"response": { "_retval": "tablist" }
},
{
"name": "protocolDescription",
"request": {},
"response": { "_retval": "json" }
}
],
"events": {
"tabListChanged": {}
}
},
"tablist": {
"category": "dict",
"typeName": "tablist",
"specializations": {
"selected": "number",
"tabs": "array:tab",
"url": "string",
"consoleActor": "console",
"inspectorActor": "inspector",
"styleSheetsActor": "stylesheets",
"styleEditorActor": "styleeditor",
"memoryActor": "memory",
"eventLoopLagActor": "eventLoopLag",
"preferenceActor": "preference",
"deviceActor": "device",
"profilerActor": "profiler",
"chromeDebugger": "chromeDebugger",
"webappsActor": "webapps"
}
},
"tab": {
"category": "dict",
"typeName": "tab",
"specializations": {
"title": "string",
"url": "string",
"outerWindowID": "number",
"inspectorActor": "inspector",
"callWatcherActor": "call-watcher",
"canvasActor": "canvas",
"webglActor": "webgl",
"webaudioActor": "webaudio",
"storageActor": "storage",
"gcliActor": "gcli",
"memoryActor": "memory",
"eventLoopLag": "eventLoopLag",
"styleSheetsActor": "stylesheets",
"styleEditorActor": "styleeditor",
"consoleActor": "console",
"traceActor": "trace"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment