summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/inspector/protocol/Worker.json
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/JavaScriptCore/inspector/protocol/Worker.json
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/JavaScriptCore/inspector/protocol/Worker.json')
-rw-r--r--Source/JavaScriptCore/inspector/protocol/Worker.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/Source/JavaScriptCore/inspector/protocol/Worker.json b/Source/JavaScriptCore/inspector/protocol/Worker.json
new file mode 100644
index 000000000..a57fac08f
--- /dev/null
+++ b/Source/JavaScriptCore/inspector/protocol/Worker.json
@@ -0,0 +1,52 @@
+{
+ "domain": "Worker",
+ "availability": "web",
+ "types": [],
+ "commands": [
+ {
+ "name": "enable",
+ "description": "Enable Worker domain events."
+ },
+ {
+ "name": "disable",
+ "description": "Disable Worker domain events."
+ },
+ {
+ "name": "initialized",
+ "description": "Sent after the frontend has sent all initialization messages and can resume this worker. This command is required to allow execution in the worker.",
+ "parameters": [
+ { "name": "workerId", "type": "string" }
+ ]
+ },
+ {
+ "name": "sendMessageToWorker",
+ "description": "Send an Inspector Protocol message to be dispatched to a Worker's agents.",
+ "parameters": [
+ { "name": "workerId", "type": "string" },
+ { "name": "message", "type": "string", "description": "JSON Inspector Protocol message (command) to be dispatched on the backend." }
+ ]
+ }
+ ],
+ "events": [
+ {
+ "name": "workerCreated",
+ "parameters": [
+ { "name": "workerId", "type": "string" },
+ { "name": "url", "type": "string" }
+ ]
+ },
+ {
+ "name": "workerTerminated",
+ "parameters": [
+ { "name": "workerId", "type": "string" }
+ ]
+ },
+ {
+ "name": "dispatchMessageFromWorker",
+ "parameters": [
+ { "name": "workerId", "type": "string" },
+ { "name": "message", "type": "string", "description": "JSON Inspector Protocol message (response or event) to be dispatched on the frontend." }
+ ]
+ }
+ ]
+}