Skip to content

Commit 7b274d1

Browse files
committed
Add definitions for a webview being loaded/erroring
1 parent 4677a24 commit 7b274d1

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,6 +1704,11 @@
17041704
"type": "string",
17051705
"description": "A generic version metadata"
17061706
},
1707+
{
1708+
"name": "webviewName",
1709+
"type": "string",
1710+
"description": "The name of the webview"
1711+
},
17071712
{
17081713
"name": "workflowToken",
17091714
"type": "string",
@@ -7138,6 +7143,26 @@
71387143
"type": "result"
71397144
}
71407145
]
7146+
},
7147+
{
7148+
"name": "webview_load",
7149+
"description": "Called when a webview is opened",
7150+
"metadata": [
7151+
{
7152+
"type": "webviewName",
7153+
"required": true
7154+
}
7155+
]
7156+
},
7157+
{
7158+
"name": "webview_error",
7159+
"description": "Called when an error occurs inside of a webview",
7160+
"metadata": [
7161+
{
7162+
"type": "webviewName",
7163+
"required": true
7164+
}
7165+
]
71417166
}
71427167
]
7143-
}
7168+
}

0 commit comments

Comments
 (0)