@@ -1187,6 +1187,25 @@ <h3 id="deprecation-report">Deprecation</h3>
1187
1187
number in [=DeprecationReportBody/sourceFile=] where the indicated API
1188
1188
was first used, or null otherwise.
1189
1189
1190
+ < div class ="example ">
1191
+ < pre >
1192
+ {
1193
+ "type": "deprecation",
1194
+ "age": 27,
1195
+ "url": "https://example.com/",
1196
+ "user_agent": "Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0",
1197
+ "body": {
1198
+ "id": "websql",
1199
+ "anticipatedRemoval": "1/1/2020",
1200
+ "message": "WebSQL is deprecated and will be removed in Chrome 97 around January 2020",
1201
+ "sourceFile": "https://example.com/index.js",
1202
+ "lineNumber": 1234,
1203
+ "columnNumber": 42
1204
+ }
1205
+ }
1206
+ </ pre >
1207
+ </ div >
1208
+
1190
1209
< h3 id ="intervention-report "> Intervention</ h3 >
1191
1210
1192
1211
< dfn > Intervention reports</ dfn > indicate that a user agent has decided not to
@@ -1214,8 +1233,8 @@ <h3 id="intervention-report">Intervention</h3>
1214
1233
{{InterventionReportBody}}, contains the following fields:
1215
1234
1216
1235
- < dfn for ="InterventionReportBody "> id</ dfn > : an implementation-defined
1217
- string identifying the specific intervention that occurred. This string can
1218
- be used for grouping and counting related reports.
1236
+ string identifying the specific intervention that occurred. This string
1237
+ can be used for grouping and counting related reports.
1219
1238
1220
1239
- < dfn for ="InterventionReportBody "> message</ dfn > : A human-readable string
1221
1240
with details typically matching what would be displayed on the developer
@@ -1234,6 +1253,22 @@ <h3 id="intervention-report">Intervention</h3>
1234
1253
column number in [=InterventionReportBody/sourceFile=] of the offending
1235
1254
behavior (which prompted the intervention), or null otherwise.
1236
1255
1256
+ < div class ="example ">
1257
+ < pre >
1258
+ {
1259
+ "type": "intervention",
1260
+ "age": 27,
1261
+ "url": "https://example.com/",
1262
+ "body": {
1263
+ "id": "audio-no-gesture",
1264
+ "message": "A request to play audio was blocked because it was not triggered by user activation (such as a click).",
1265
+ "sourceFile": "https://example.com/index.js",
1266
+ "lineNumber": 1234,
1267
+ "columnNumber": 42
1268
+ }
1269
+ }
1270
+ </ pre >
1271
+ </ div >
1237
1272
</ section >
1238
1273
1239
1274
< section >
0 commit comments