webext-schema 7.0.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/node.js.yml +2 -2
- package/.prettierignore +8 -0
- package/README.md +37 -6
- package/SECURITY.md +30 -0
- package/eslint.config.mjs +27 -19
- package/index.js +9 -3
- package/modules/browser.js +81 -25
- package/modules/commander.js +8 -5
- package/modules/common.js +1 -1
- package/modules/file-util.js +23 -10
- package/modules/schema.js +21 -14
- package/modules/update.js +34 -23
- package/package.json +25 -24
- package/prettier.config.mjs +14 -0
- package/schemas/beta/webext.json +902 -204
- package/schemas/central/webext.json +902 -204
- package/schemas/mail/mailext.json +552 -17
- package/test/browser.test.js +1045 -495
- package/test/commander.test.js +7 -21
- package/test/common.test.js +7 -1
- package/test/file-util.test.js +65 -35
- package/test/index.test.js +55 -1
- package/test/schema.test.js +839 -430
- package/test/update.test.js +872 -511
- package/types/index.d.ts +8 -1
- package/types/modules/browser.d.ts +61 -61
- package/types/modules/commander.d.ts +3 -3
- package/types/modules/common.d.ts +7 -7
- package/types/modules/constant.d.ts +3 -3
- package/types/modules/file-util.d.ts +16 -16
- package/types/modules/schema.d.ts +6 -6
- package/types/modules/update.d.ts +10 -10
|
@@ -3059,146 +3059,6 @@
|
|
|
3059
3059
|
]
|
|
3060
3060
|
}
|
|
3061
3061
|
],
|
|
3062
|
-
"normandyAddonStudy.json": [
|
|
3063
|
-
{
|
|
3064
|
-
"namespace": "manifest",
|
|
3065
|
-
"types": [
|
|
3066
|
-
{
|
|
3067
|
-
"$extend": "PermissionPrivileged",
|
|
3068
|
-
"choices": [
|
|
3069
|
-
{
|
|
3070
|
-
"type": "string",
|
|
3071
|
-
"enum": [
|
|
3072
|
-
"normandyAddonStudy"
|
|
3073
|
-
]
|
|
3074
|
-
}
|
|
3075
|
-
]
|
|
3076
|
-
}
|
|
3077
|
-
]
|
|
3078
|
-
},
|
|
3079
|
-
{
|
|
3080
|
-
"namespace": "normandyAddonStudy",
|
|
3081
|
-
"description": "Normandy Study API",
|
|
3082
|
-
"allowedContexts": [
|
|
3083
|
-
"content",
|
|
3084
|
-
"devtools"
|
|
3085
|
-
],
|
|
3086
|
-
"defaultContexts": [
|
|
3087
|
-
"content",
|
|
3088
|
-
"devtools"
|
|
3089
|
-
],
|
|
3090
|
-
"permissions": [
|
|
3091
|
-
"normandyAddonStudy"
|
|
3092
|
-
],
|
|
3093
|
-
"types": [
|
|
3094
|
-
{
|
|
3095
|
-
"id": "Study",
|
|
3096
|
-
"type": "object",
|
|
3097
|
-
"properties": {
|
|
3098
|
-
"recipeId": {
|
|
3099
|
-
"type": "integer",
|
|
3100
|
-
"description": "The ID of the recipe for the study."
|
|
3101
|
-
},
|
|
3102
|
-
"slug": {
|
|
3103
|
-
"type": "string",
|
|
3104
|
-
"description": "A slug to identify the study."
|
|
3105
|
-
},
|
|
3106
|
-
"userFacingName": {
|
|
3107
|
-
"type": "string",
|
|
3108
|
-
"description": "The name presented on about:studies."
|
|
3109
|
-
},
|
|
3110
|
-
"userFacingDescription": {
|
|
3111
|
-
"type": "string",
|
|
3112
|
-
"description": "The description presented on about:studies."
|
|
3113
|
-
},
|
|
3114
|
-
"branch": {
|
|
3115
|
-
"type": "string",
|
|
3116
|
-
"description": "The study branch in which the user is enrolled."
|
|
3117
|
-
},
|
|
3118
|
-
"active": {
|
|
3119
|
-
"type": "boolean",
|
|
3120
|
-
"description": "The state of the study."
|
|
3121
|
-
},
|
|
3122
|
-
"addonId": {
|
|
3123
|
-
"type": "string",
|
|
3124
|
-
"description": "The ID of the extension installed by the study."
|
|
3125
|
-
},
|
|
3126
|
-
"addonUrl": {
|
|
3127
|
-
"type": "string",
|
|
3128
|
-
"description": "The URL of the XPI that was downloaded and installed by the study."
|
|
3129
|
-
},
|
|
3130
|
-
"addonVersion": {
|
|
3131
|
-
"type": "string",
|
|
3132
|
-
"description": "The version of the extension installed by the study."
|
|
3133
|
-
},
|
|
3134
|
-
"studyStartDate": {
|
|
3135
|
-
"$ref": "extensionTypes.Date",
|
|
3136
|
-
"description": "The start date for the study."
|
|
3137
|
-
},
|
|
3138
|
-
"studyEndDate": {
|
|
3139
|
-
"$ref": "extensionTypes.Date",
|
|
3140
|
-
"description": "The end date for the study."
|
|
3141
|
-
},
|
|
3142
|
-
"extensionApiId": {
|
|
3143
|
-
"type": "integer",
|
|
3144
|
-
"description": "The record ID for the extension in Normandy server's database."
|
|
3145
|
-
},
|
|
3146
|
-
"extensionHash": {
|
|
3147
|
-
"type": "string",
|
|
3148
|
-
"description": "A hash of the extension XPI file."
|
|
3149
|
-
},
|
|
3150
|
-
"extensionHashAlgorithm": {
|
|
3151
|
-
"type": "string",
|
|
3152
|
-
"description": "The algorithm used to hash the extension XPI file."
|
|
3153
|
-
}
|
|
3154
|
-
}
|
|
3155
|
-
}
|
|
3156
|
-
],
|
|
3157
|
-
"functions": [
|
|
3158
|
-
{
|
|
3159
|
-
"name": "getStudy",
|
|
3160
|
-
"type": "function",
|
|
3161
|
-
"description": "Returns a study object for the current study.",
|
|
3162
|
-
"async": true,
|
|
3163
|
-
"parameters": []
|
|
3164
|
-
},
|
|
3165
|
-
{
|
|
3166
|
-
"name": "endStudy",
|
|
3167
|
-
"type": "function",
|
|
3168
|
-
"description": "Marks the study as ended and then uninstalls the addon.",
|
|
3169
|
-
"async": true,
|
|
3170
|
-
"parameters": [
|
|
3171
|
-
{
|
|
3172
|
-
"type": "string",
|
|
3173
|
-
"name": "reason",
|
|
3174
|
-
"description": "The reason why the study is ending."
|
|
3175
|
-
}
|
|
3176
|
-
]
|
|
3177
|
-
},
|
|
3178
|
-
{
|
|
3179
|
-
"name": "getClientMetadata",
|
|
3180
|
-
"type": "function",
|
|
3181
|
-
"description": "Returns an object with metadata about the client which may be required for constructing survey URLs.",
|
|
3182
|
-
"async": true,
|
|
3183
|
-
"parameters": []
|
|
3184
|
-
}
|
|
3185
|
-
],
|
|
3186
|
-
"events": [
|
|
3187
|
-
{
|
|
3188
|
-
"name": "onUnenroll",
|
|
3189
|
-
"type": "function",
|
|
3190
|
-
"description": "Fired when a user unenrolls from a study but before the addon is uninstalled.",
|
|
3191
|
-
"parameters": [
|
|
3192
|
-
{
|
|
3193
|
-
"type": "string",
|
|
3194
|
-
"name": "reason",
|
|
3195
|
-
"description": "The reason why the study is ending."
|
|
3196
|
-
}
|
|
3197
|
-
]
|
|
3198
|
-
}
|
|
3199
|
-
]
|
|
3200
|
-
}
|
|
3201
|
-
],
|
|
3202
3062
|
"omnibox.json": [
|
|
3203
3063
|
{
|
|
3204
3064
|
"namespace": "manifest",
|
|
@@ -4815,6 +4675,12 @@
|
|
|
4815
4675
|
"optional": true,
|
|
4816
4676
|
"minimum": -1,
|
|
4817
4677
|
"description": "The ID of the group that the tab belongs to. $(ref:tabGroups.TAB_GROUP_ID_NONE) (-1) if the tab does not belong to a tab group."
|
|
4678
|
+
},
|
|
4679
|
+
"splitViewId": {
|
|
4680
|
+
"type": "integer",
|
|
4681
|
+
"optional": true,
|
|
4682
|
+
"minimum": -1,
|
|
4683
|
+
"description": "The ID of the Split View that the tab belongs to. $(ref:tabs.SPLIT_VIEW_ID_NONE) if the tab does not belong to a split view."
|
|
4818
4684
|
}
|
|
4819
4685
|
}
|
|
4820
4686
|
},
|
|
@@ -5032,6 +4898,7 @@
|
|
|
5032
4898
|
"mutedInfo",
|
|
5033
4899
|
"pinned",
|
|
5034
4900
|
"sharingState",
|
|
4901
|
+
"splitViewId",
|
|
5035
4902
|
"status",
|
|
5036
4903
|
"title",
|
|
5037
4904
|
"url"
|
|
@@ -5080,6 +4947,10 @@
|
|
|
5080
4947
|
"TAB_ID_NONE": {
|
|
5081
4948
|
"value": -1,
|
|
5082
4949
|
"description": "An ID which represents the absence of a browser tab."
|
|
4950
|
+
},
|
|
4951
|
+
"SPLIT_VIEW_ID_NONE": {
|
|
4952
|
+
"value": -1,
|
|
4953
|
+
"description": "A value for use with splitViewId to represent that the tab is not a member of a Split View."
|
|
5083
4954
|
}
|
|
5084
4955
|
},
|
|
5085
4956
|
"functions": [
|
|
@@ -5149,6 +5020,11 @@
|
|
|
5149
5020
|
"optional": true,
|
|
5150
5021
|
"minimum": 0,
|
|
5151
5022
|
"description": "Open a port to a specific $(topic:frame_ids)[frame] identified by <code>frameId</code> instead of all frames in the tab."
|
|
5023
|
+
},
|
|
5024
|
+
"documentId": {
|
|
5025
|
+
"type": "string",
|
|
5026
|
+
"optional": true,
|
|
5027
|
+
"description": "Open a port to a specific document identified by <code>documentId</code> instead of all frames in the tab."
|
|
5152
5028
|
}
|
|
5153
5029
|
},
|
|
5154
5030
|
"optional": true
|
|
@@ -5183,6 +5059,11 @@
|
|
|
5183
5059
|
"optional": true,
|
|
5184
5060
|
"minimum": 0,
|
|
5185
5061
|
"description": "Send a message to a specific $(topic:frame_ids)[frame] identified by <code>frameId</code> instead of all frames in the tab."
|
|
5062
|
+
},
|
|
5063
|
+
"documentId": {
|
|
5064
|
+
"type": "string",
|
|
5065
|
+
"optional": true,
|
|
5066
|
+
"description": "Send a message to a specific document identified by <code>documentId</code> instead of all frames in the tab."
|
|
5186
5067
|
}
|
|
5187
5068
|
},
|
|
5188
5069
|
"optional": true
|
|
@@ -5464,6 +5345,12 @@
|
|
|
5464
5345
|
"optional": true,
|
|
5465
5346
|
"description": "The ID of the group that the tabs are in, or $(ref:tabGroups.TAB_GROUP_ID_NONE) (-1) for ungrouped tabs."
|
|
5466
5347
|
},
|
|
5348
|
+
"splitViewId": {
|
|
5349
|
+
"type": "integer",
|
|
5350
|
+
"minimum": -1,
|
|
5351
|
+
"optional": true,
|
|
5352
|
+
"description": "The ID of the Split View that the tab belongs to. $(ref:tabs.SPLIT_VIEW_ID_NONE) if the tab does not belong to a split view."
|
|
5353
|
+
},
|
|
5467
5354
|
"screen": {
|
|
5468
5355
|
"choices": [
|
|
5469
5356
|
{
|
|
@@ -6478,6 +6365,12 @@
|
|
|
6478
6365
|
"optional": true,
|
|
6479
6366
|
"description": "The tab's new sharing state for screen, microphone and camera."
|
|
6480
6367
|
},
|
|
6368
|
+
"splitViewId": {
|
|
6369
|
+
"type": "integer",
|
|
6370
|
+
"optional": true,
|
|
6371
|
+
"minimum": -1,
|
|
6372
|
+
"description": "The ID of the Split View that the tab belongs to. $(ref:tabs.SPLIT_VIEW_ID_NONE) if the tab does not belong to a split view."
|
|
6373
|
+
},
|
|
6481
6374
|
"status": {
|
|
6482
6375
|
"type": "string",
|
|
6483
6376
|
"optional": true,
|
|
@@ -7700,13 +7593,7 @@
|
|
|
7700
7593
|
{
|
|
7701
7594
|
"type": "function",
|
|
7702
7595
|
"name": "callback",
|
|
7703
|
-
"parameters": [
|
|
7704
|
-
{
|
|
7705
|
-
"name": "wasCleared",
|
|
7706
|
-
"type": "boolean",
|
|
7707
|
-
"description": "Whether any alarm was found to clear."
|
|
7708
|
-
}
|
|
7709
|
-
]
|
|
7596
|
+
"parameters": []
|
|
7710
7597
|
}
|
|
7711
7598
|
]
|
|
7712
7599
|
}
|
|
@@ -8263,7 +8150,17 @@
|
|
|
8263
8150
|
"parameters": [
|
|
8264
8151
|
{
|
|
8265
8152
|
"name": "details",
|
|
8266
|
-
"
|
|
8153
|
+
"optional": true,
|
|
8154
|
+
"choices": [
|
|
8155
|
+
{
|
|
8156
|
+
"$ref": "Details"
|
|
8157
|
+
},
|
|
8158
|
+
{
|
|
8159
|
+
"type": "integer",
|
|
8160
|
+
"minimum": 0,
|
|
8161
|
+
"description": "The id of the tab for which you want to query its enabled state."
|
|
8162
|
+
}
|
|
8163
|
+
]
|
|
8267
8164
|
}
|
|
8268
8165
|
]
|
|
8269
8166
|
},
|
|
@@ -9230,6 +9127,21 @@
|
|
|
9230
9127
|
"description": "The cookie store ID of the contextual identity."
|
|
9231
9128
|
}
|
|
9232
9129
|
}
|
|
9130
|
+
},
|
|
9131
|
+
{
|
|
9132
|
+
"id": "SiteAssociation",
|
|
9133
|
+
"type": "object",
|
|
9134
|
+
"description": "Represents the association between a site and a contextual identity.",
|
|
9135
|
+
"properties": {
|
|
9136
|
+
"site": {
|
|
9137
|
+
"type": "string",
|
|
9138
|
+
"description": "The associated host, normalized to lower case and encoded as ASCII."
|
|
9139
|
+
},
|
|
9140
|
+
"cookieStoreId": {
|
|
9141
|
+
"type": "string",
|
|
9142
|
+
"description": "The cookie store ID of the contextual identity the host is associated with."
|
|
9143
|
+
}
|
|
9144
|
+
}
|
|
9233
9145
|
}
|
|
9234
9146
|
],
|
|
9235
9147
|
"functions": [
|
|
@@ -9266,6 +9178,68 @@
|
|
|
9266
9178
|
}
|
|
9267
9179
|
]
|
|
9268
9180
|
},
|
|
9181
|
+
{
|
|
9182
|
+
"name": "getSupportedColors",
|
|
9183
|
+
"type": "function",
|
|
9184
|
+
"description": "Retrieves the list of colors supported by contextual identities.",
|
|
9185
|
+
"async": "callback",
|
|
9186
|
+
"parameters": [
|
|
9187
|
+
{
|
|
9188
|
+
"name": "callback",
|
|
9189
|
+
"type": "function",
|
|
9190
|
+
"parameters": [
|
|
9191
|
+
{
|
|
9192
|
+
"name": "colors",
|
|
9193
|
+
"type": "array",
|
|
9194
|
+
"items": {
|
|
9195
|
+
"type": "object",
|
|
9196
|
+
"properties": {
|
|
9197
|
+
"color": {
|
|
9198
|
+
"type": "string",
|
|
9199
|
+
"description": "The color name, as accepted by the color property of create and update."
|
|
9200
|
+
},
|
|
9201
|
+
"colorCode": {
|
|
9202
|
+
"type": "string",
|
|
9203
|
+
"description": "The color hash for this color name."
|
|
9204
|
+
}
|
|
9205
|
+
}
|
|
9206
|
+
}
|
|
9207
|
+
}
|
|
9208
|
+
]
|
|
9209
|
+
}
|
|
9210
|
+
]
|
|
9211
|
+
},
|
|
9212
|
+
{
|
|
9213
|
+
"name": "getSupportedIcons",
|
|
9214
|
+
"type": "function",
|
|
9215
|
+
"description": "Retrieves the list of icons supported by contextual identities.",
|
|
9216
|
+
"async": "callback",
|
|
9217
|
+
"parameters": [
|
|
9218
|
+
{
|
|
9219
|
+
"name": "callback",
|
|
9220
|
+
"type": "function",
|
|
9221
|
+
"parameters": [
|
|
9222
|
+
{
|
|
9223
|
+
"name": "icons",
|
|
9224
|
+
"type": "array",
|
|
9225
|
+
"items": {
|
|
9226
|
+
"type": "object",
|
|
9227
|
+
"properties": {
|
|
9228
|
+
"icon": {
|
|
9229
|
+
"type": "string",
|
|
9230
|
+
"description": "The icon name, as accepted by the icon property of create and update."
|
|
9231
|
+
},
|
|
9232
|
+
"iconUrl": {
|
|
9233
|
+
"type": "string",
|
|
9234
|
+
"description": "The icon url for this icon name."
|
|
9235
|
+
}
|
|
9236
|
+
}
|
|
9237
|
+
}
|
|
9238
|
+
}
|
|
9239
|
+
]
|
|
9240
|
+
}
|
|
9241
|
+
]
|
|
9242
|
+
},
|
|
9269
9243
|
{
|
|
9270
9244
|
"name": "create",
|
|
9271
9245
|
"type": "function",
|
|
@@ -9371,84 +9345,213 @@
|
|
|
9371
9345
|
"description": "The ID of the contextual identity cookie store. "
|
|
9372
9346
|
}
|
|
9373
9347
|
]
|
|
9374
|
-
}
|
|
9375
|
-
],
|
|
9376
|
-
"events": [
|
|
9348
|
+
},
|
|
9377
9349
|
{
|
|
9378
|
-
"name": "
|
|
9350
|
+
"name": "setSiteAssociation",
|
|
9379
9351
|
"type": "function",
|
|
9380
|
-
"description": "
|
|
9352
|
+
"description": "Associates a site with a container. Top-level navigations to that site will load in the given container.",
|
|
9353
|
+
"async": true,
|
|
9381
9354
|
"parameters": [
|
|
9382
9355
|
{
|
|
9383
9356
|
"type": "object",
|
|
9384
|
-
"name": "
|
|
9357
|
+
"name": "details",
|
|
9358
|
+
"description": "Details about the site association.",
|
|
9385
9359
|
"properties": {
|
|
9386
|
-
"
|
|
9387
|
-
"
|
|
9388
|
-
"description": "
|
|
9360
|
+
"site": {
|
|
9361
|
+
"type": "string",
|
|
9362
|
+
"description": "The host to associate with the container (matched as an exact host)."
|
|
9363
|
+
},
|
|
9364
|
+
"cookieStoreId": {
|
|
9365
|
+
"type": "string",
|
|
9366
|
+
"description": "The cookie store ID of the container to associate the site with."
|
|
9389
9367
|
}
|
|
9390
9368
|
}
|
|
9391
9369
|
}
|
|
9392
9370
|
]
|
|
9393
9371
|
},
|
|
9394
9372
|
{
|
|
9395
|
-
"name": "
|
|
9373
|
+
"name": "removeSiteAssociation",
|
|
9396
9374
|
"type": "function",
|
|
9397
|
-
"description": "
|
|
9375
|
+
"description": "Removes the container association for a site.",
|
|
9376
|
+
"async": true,
|
|
9398
9377
|
"parameters": [
|
|
9399
9378
|
{
|
|
9400
9379
|
"type": "object",
|
|
9401
|
-
"name": "
|
|
9380
|
+
"name": "details",
|
|
9381
|
+
"description": "Details about the site association to remove.",
|
|
9402
9382
|
"properties": {
|
|
9403
|
-
"
|
|
9404
|
-
"
|
|
9405
|
-
"description": "
|
|
9383
|
+
"site": {
|
|
9384
|
+
"type": "string",
|
|
9385
|
+
"description": "The host whose container association should be removed."
|
|
9406
9386
|
}
|
|
9407
9387
|
}
|
|
9408
9388
|
}
|
|
9409
9389
|
]
|
|
9410
9390
|
},
|
|
9411
9391
|
{
|
|
9412
|
-
"name": "
|
|
9392
|
+
"name": "getSiteAssociation",
|
|
9413
9393
|
"type": "function",
|
|
9414
|
-
"description": "
|
|
9394
|
+
"description": "Retrieves the association of a site, or null if the site is not associated with any container.",
|
|
9395
|
+
"async": "callback",
|
|
9415
9396
|
"parameters": [
|
|
9416
9397
|
{
|
|
9417
9398
|
"type": "object",
|
|
9418
|
-
"name": "
|
|
9399
|
+
"name": "details",
|
|
9400
|
+
"description": "Details about the site to look up.",
|
|
9419
9401
|
"properties": {
|
|
9420
|
-
"
|
|
9421
|
-
"
|
|
9422
|
-
"description": "
|
|
9402
|
+
"site": {
|
|
9403
|
+
"type": "string",
|
|
9404
|
+
"description": "The host to look up."
|
|
9423
9405
|
}
|
|
9424
9406
|
}
|
|
9425
|
-
}
|
|
9426
|
-
]
|
|
9427
|
-
}
|
|
9428
|
-
]
|
|
9429
|
-
}
|
|
9430
|
-
],
|
|
9431
|
-
"cookies.json": [
|
|
9432
|
-
{
|
|
9433
|
-
"namespace": "manifest",
|
|
9434
|
-
"types": [
|
|
9435
|
-
{
|
|
9436
|
-
"$extend": "OptionalPermissionNoPrompt",
|
|
9437
|
-
"choices": [
|
|
9407
|
+
},
|
|
9438
9408
|
{
|
|
9439
|
-
"type": "
|
|
9440
|
-
"
|
|
9441
|
-
|
|
9409
|
+
"type": "function",
|
|
9410
|
+
"name": "callback",
|
|
9411
|
+
"parameters": [
|
|
9412
|
+
{
|
|
9413
|
+
"name": "association",
|
|
9414
|
+
"$ref": "SiteAssociation",
|
|
9415
|
+
"optional": true,
|
|
9416
|
+
"description": "The association of the site, null if the site is not associated with any container."
|
|
9417
|
+
}
|
|
9442
9418
|
]
|
|
9443
9419
|
}
|
|
9444
9420
|
]
|
|
9445
|
-
}
|
|
9446
|
-
|
|
9447
|
-
|
|
9448
|
-
|
|
9449
|
-
|
|
9450
|
-
|
|
9451
|
-
|
|
9421
|
+
},
|
|
9422
|
+
{
|
|
9423
|
+
"name": "querySiteAssociations",
|
|
9424
|
+
"type": "function",
|
|
9425
|
+
"description": "Retrieves the list of site-to-container associations.",
|
|
9426
|
+
"async": "callback",
|
|
9427
|
+
"parameters": [
|
|
9428
|
+
{
|
|
9429
|
+
"type": "object",
|
|
9430
|
+
"name": "details",
|
|
9431
|
+
"description": "Information to filter the associations being retrieved.",
|
|
9432
|
+
"properties": {
|
|
9433
|
+
"cookieStoreId": {
|
|
9434
|
+
"type": "string",
|
|
9435
|
+
"optional": true,
|
|
9436
|
+
"description": "If provided, only associations for this container are returned."
|
|
9437
|
+
}
|
|
9438
|
+
}
|
|
9439
|
+
},
|
|
9440
|
+
{
|
|
9441
|
+
"type": "function",
|
|
9442
|
+
"name": "callback",
|
|
9443
|
+
"parameters": [
|
|
9444
|
+
{
|
|
9445
|
+
"name": "associations",
|
|
9446
|
+
"type": "array",
|
|
9447
|
+
"items": {
|
|
9448
|
+
"$ref": "SiteAssociation"
|
|
9449
|
+
},
|
|
9450
|
+
"description": "The site-to-container associations."
|
|
9451
|
+
}
|
|
9452
|
+
]
|
|
9453
|
+
}
|
|
9454
|
+
]
|
|
9455
|
+
}
|
|
9456
|
+
],
|
|
9457
|
+
"events": [
|
|
9458
|
+
{
|
|
9459
|
+
"name": "onUpdated",
|
|
9460
|
+
"type": "function",
|
|
9461
|
+
"description": "Fired when a container is updated.",
|
|
9462
|
+
"parameters": [
|
|
9463
|
+
{
|
|
9464
|
+
"type": "object",
|
|
9465
|
+
"name": "changeInfo",
|
|
9466
|
+
"properties": {
|
|
9467
|
+
"contextualIdentity": {
|
|
9468
|
+
"$ref": "ContextualIdentity",
|
|
9469
|
+
"description": "Contextual identity that has been updated"
|
|
9470
|
+
}
|
|
9471
|
+
}
|
|
9472
|
+
}
|
|
9473
|
+
]
|
|
9474
|
+
},
|
|
9475
|
+
{
|
|
9476
|
+
"name": "onCreated",
|
|
9477
|
+
"type": "function",
|
|
9478
|
+
"description": "Fired when a new container is created.",
|
|
9479
|
+
"parameters": [
|
|
9480
|
+
{
|
|
9481
|
+
"type": "object",
|
|
9482
|
+
"name": "changeInfo",
|
|
9483
|
+
"properties": {
|
|
9484
|
+
"contextualIdentity": {
|
|
9485
|
+
"$ref": "ContextualIdentity",
|
|
9486
|
+
"description": "Contextual identity that has been created"
|
|
9487
|
+
}
|
|
9488
|
+
}
|
|
9489
|
+
}
|
|
9490
|
+
]
|
|
9491
|
+
},
|
|
9492
|
+
{
|
|
9493
|
+
"name": "onRemoved",
|
|
9494
|
+
"type": "function",
|
|
9495
|
+
"description": "Fired when a container is removed.",
|
|
9496
|
+
"parameters": [
|
|
9497
|
+
{
|
|
9498
|
+
"type": "object",
|
|
9499
|
+
"name": "changeInfo",
|
|
9500
|
+
"properties": {
|
|
9501
|
+
"contextualIdentity": {
|
|
9502
|
+
"$ref": "ContextualIdentity",
|
|
9503
|
+
"description": "Contextual identity that has been removed"
|
|
9504
|
+
}
|
|
9505
|
+
}
|
|
9506
|
+
}
|
|
9507
|
+
]
|
|
9508
|
+
},
|
|
9509
|
+
{
|
|
9510
|
+
"name": "onSiteAssociationChanged",
|
|
9511
|
+
"type": "function",
|
|
9512
|
+
"description": "Fired when a site-to-container association is added, changed, or removed.",
|
|
9513
|
+
"parameters": [
|
|
9514
|
+
{
|
|
9515
|
+
"type": "object",
|
|
9516
|
+
"name": "changeInfo",
|
|
9517
|
+
"properties": {
|
|
9518
|
+
"site": {
|
|
9519
|
+
"type": "string",
|
|
9520
|
+
"description": "The host whose association changed."
|
|
9521
|
+
},
|
|
9522
|
+
"cookieStoreId": {
|
|
9523
|
+
"type": "string",
|
|
9524
|
+
"optional": true,
|
|
9525
|
+
"description": "The cookie store ID of the now-associated container, or omitted if the association was removed."
|
|
9526
|
+
}
|
|
9527
|
+
}
|
|
9528
|
+
}
|
|
9529
|
+
]
|
|
9530
|
+
}
|
|
9531
|
+
]
|
|
9532
|
+
}
|
|
9533
|
+
],
|
|
9534
|
+
"cookies.json": [
|
|
9535
|
+
{
|
|
9536
|
+
"namespace": "manifest",
|
|
9537
|
+
"types": [
|
|
9538
|
+
{
|
|
9539
|
+
"$extend": "OptionalPermissionNoPrompt",
|
|
9540
|
+
"choices": [
|
|
9541
|
+
{
|
|
9542
|
+
"type": "string",
|
|
9543
|
+
"enum": [
|
|
9544
|
+
"cookies"
|
|
9545
|
+
]
|
|
9546
|
+
}
|
|
9547
|
+
]
|
|
9548
|
+
}
|
|
9549
|
+
]
|
|
9550
|
+
},
|
|
9551
|
+
{
|
|
9552
|
+
"namespace": "cookies",
|
|
9553
|
+
"description": "Use the <code>browser.cookies</code> API to query and modify cookies, and to be notified when they change.",
|
|
9554
|
+
"permissions": [
|
|
9452
9555
|
"cookies"
|
|
9453
9556
|
],
|
|
9454
9557
|
"types": [
|
|
@@ -12823,7 +12926,6 @@
|
|
|
12823
12926
|
"nativeallocations",
|
|
12824
12927
|
"ipcmessages",
|
|
12825
12928
|
"audiocallbacktracing",
|
|
12826
|
-
"cpu",
|
|
12827
12929
|
"notimerresolutionchange",
|
|
12828
12930
|
"cpuallthreads",
|
|
12829
12931
|
"samplingallthreads",
|
|
@@ -12992,7 +13094,7 @@
|
|
|
12992
13094
|
"properties": {
|
|
12993
13095
|
"default_locale": {
|
|
12994
13096
|
"type": "string",
|
|
12995
|
-
"optional":
|
|
13097
|
+
"optional": true
|
|
12996
13098
|
},
|
|
12997
13099
|
"l10n_resources": {
|
|
12998
13100
|
"type": "array",
|
|
@@ -14073,7 +14175,6 @@
|
|
|
14073
14175
|
},
|
|
14074
14176
|
"content_security_policy": {
|
|
14075
14177
|
"optional": true,
|
|
14076
|
-
"onError": "warn",
|
|
14077
14178
|
"choices": [
|
|
14078
14179
|
{
|
|
14079
14180
|
"max_manifest_version": 2,
|
|
@@ -14092,11 +14193,40 @@
|
|
|
14092
14193
|
"optional": true,
|
|
14093
14194
|
"format": "contentSecurityPolicy",
|
|
14094
14195
|
"description": "The Content Security Policy used for extension pages."
|
|
14196
|
+
},
|
|
14197
|
+
"sandbox": {
|
|
14198
|
+
"type": "string",
|
|
14199
|
+
"optional": true,
|
|
14200
|
+
"format": "contentSecurityPolicySandbox",
|
|
14201
|
+
"description": "The content security policy used for sandboxed extension pages."
|
|
14095
14202
|
}
|
|
14096
14203
|
}
|
|
14097
14204
|
}
|
|
14098
14205
|
]
|
|
14099
14206
|
},
|
|
14207
|
+
"sandbox": {
|
|
14208
|
+
"type": "object",
|
|
14209
|
+
"optional": true,
|
|
14210
|
+
"additionalProperties": {
|
|
14211
|
+
"$ref": "UnrecognizedProperty"
|
|
14212
|
+
},
|
|
14213
|
+
"properties": {
|
|
14214
|
+
"pages": {
|
|
14215
|
+
"type": "array",
|
|
14216
|
+
"items": {
|
|
14217
|
+
"type": "string"
|
|
14218
|
+
},
|
|
14219
|
+
"description": "The list of pages in the form of globs to serve as sandboxed extension pages."
|
|
14220
|
+
},
|
|
14221
|
+
"content_security_policy": {
|
|
14222
|
+
"type": "string",
|
|
14223
|
+
"optional": true,
|
|
14224
|
+
"max_manifest_version": 2,
|
|
14225
|
+
"format": "contentSecurityPolicySandbox",
|
|
14226
|
+
"description": "The content security policy used for sandboxed extension pages."
|
|
14227
|
+
}
|
|
14228
|
+
}
|
|
14229
|
+
},
|
|
14100
14230
|
"permissions": {
|
|
14101
14231
|
"default": [],
|
|
14102
14232
|
"optional": true,
|
|
@@ -16077,6 +16207,16 @@
|
|
|
16077
16207
|
"type": "integer",
|
|
16078
16208
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
16079
16209
|
},
|
|
16210
|
+
"documentId": {
|
|
16211
|
+
"type": "string",
|
|
16212
|
+
"optional": true,
|
|
16213
|
+
"description": "The UUID of the document making the request."
|
|
16214
|
+
},
|
|
16215
|
+
"parentDocumentId": {
|
|
16216
|
+
"type": "string",
|
|
16217
|
+
"optional": true,
|
|
16218
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
16219
|
+
},
|
|
16080
16220
|
"incognito": {
|
|
16081
16221
|
"type": "boolean",
|
|
16082
16222
|
"optional": true,
|
|
@@ -16370,6 +16510,123 @@
|
|
|
16370
16510
|
}
|
|
16371
16511
|
}
|
|
16372
16512
|
],
|
|
16513
|
+
"public_suffix.json": [
|
|
16514
|
+
{
|
|
16515
|
+
"namespace": "manifest",
|
|
16516
|
+
"types": [
|
|
16517
|
+
{
|
|
16518
|
+
"$extend": "OptionalPermissionNoPrompt",
|
|
16519
|
+
"choices": [
|
|
16520
|
+
{
|
|
16521
|
+
"type": "string",
|
|
16522
|
+
"enum": [
|
|
16523
|
+
"publicSuffix"
|
|
16524
|
+
]
|
|
16525
|
+
}
|
|
16526
|
+
]
|
|
16527
|
+
}
|
|
16528
|
+
]
|
|
16529
|
+
},
|
|
16530
|
+
{
|
|
16531
|
+
"namespace": "publicSuffix",
|
|
16532
|
+
"description": "API to obtain the registrable domain / eTLD+1 from a domain name.",
|
|
16533
|
+
"permissions": [
|
|
16534
|
+
"publicSuffix"
|
|
16535
|
+
],
|
|
16536
|
+
"types": [
|
|
16537
|
+
{
|
|
16538
|
+
"id": "DomainEncoding",
|
|
16539
|
+
"type": "string",
|
|
16540
|
+
"description": "The available encoding types for the returned domain.",
|
|
16541
|
+
"enum": [
|
|
16542
|
+
"punycode",
|
|
16543
|
+
"display"
|
|
16544
|
+
]
|
|
16545
|
+
}
|
|
16546
|
+
],
|
|
16547
|
+
"functions": [
|
|
16548
|
+
{
|
|
16549
|
+
"name": "isKnownSuffix",
|
|
16550
|
+
"type": "function",
|
|
16551
|
+
"description": "Checks if the given hostname is itself a known public suffix / eTLD (i.e. in the PSL).",
|
|
16552
|
+
"parameters": [
|
|
16553
|
+
{
|
|
16554
|
+
"name": "hostname",
|
|
16555
|
+
"type": "string"
|
|
16556
|
+
}
|
|
16557
|
+
],
|
|
16558
|
+
"returns": {
|
|
16559
|
+
"type": "boolean",
|
|
16560
|
+
"description": "True if the given hostname is itself a known eTLD."
|
|
16561
|
+
}
|
|
16562
|
+
},
|
|
16563
|
+
{
|
|
16564
|
+
"name": "getKnownSuffix",
|
|
16565
|
+
"type": "function",
|
|
16566
|
+
"description": "Gets the known public suffix / eTLD (i.e. in the PSL), if any, of a given hostname.",
|
|
16567
|
+
"parameters": [
|
|
16568
|
+
{
|
|
16569
|
+
"name": "hostname",
|
|
16570
|
+
"type": "string"
|
|
16571
|
+
}
|
|
16572
|
+
],
|
|
16573
|
+
"returns": {
|
|
16574
|
+
"type": "string",
|
|
16575
|
+
"optional": true,
|
|
16576
|
+
"description": "The known eTLD of the given hostname, or null if no such known eTLD exists."
|
|
16577
|
+
}
|
|
16578
|
+
},
|
|
16579
|
+
{
|
|
16580
|
+
"name": "getDomain",
|
|
16581
|
+
"type": "function",
|
|
16582
|
+
"description": "Gets the eTLD+1 of a given hostname, or a variant such as IP address if the options allow.",
|
|
16583
|
+
"parameters": [
|
|
16584
|
+
{
|
|
16585
|
+
"name": "hostname",
|
|
16586
|
+
"type": "string"
|
|
16587
|
+
},
|
|
16588
|
+
{
|
|
16589
|
+
"name": "options",
|
|
16590
|
+
"type": "object",
|
|
16591
|
+
"properties": {
|
|
16592
|
+
"encoding": {
|
|
16593
|
+
"$ref": "DomainEncoding",
|
|
16594
|
+
"optional": true,
|
|
16595
|
+
"default": "punycode",
|
|
16596
|
+
"description": "Determines how the returned domain should be encoded."
|
|
16597
|
+
},
|
|
16598
|
+
"allowIPAddress": {
|
|
16599
|
+
"type": "boolean",
|
|
16600
|
+
"optional": true,
|
|
16601
|
+
"default": false,
|
|
16602
|
+
"description": "If true, and the input hostname is an IP address, then this is returned as-is."
|
|
16603
|
+
},
|
|
16604
|
+
"allowPlainSuffix": {
|
|
16605
|
+
"type": "boolean",
|
|
16606
|
+
"optional": true,
|
|
16607
|
+
"default": false,
|
|
16608
|
+
"description": "If true, and the input hostname is itself a known eTLD (without a preceding label) then this is returned as-is."
|
|
16609
|
+
},
|
|
16610
|
+
"allowUnknownSuffix": {
|
|
16611
|
+
"type": "boolean",
|
|
16612
|
+
"optional": true,
|
|
16613
|
+
"default": false,
|
|
16614
|
+
"description": "If true, and the input hostname lacks a known eTLD, and is neither itself a known eTLD nor an IP address, then the returned domain consists of the penultimate two domain labels of the input."
|
|
16615
|
+
}
|
|
16616
|
+
},
|
|
16617
|
+
"optional": true,
|
|
16618
|
+
"default": {}
|
|
16619
|
+
}
|
|
16620
|
+
],
|
|
16621
|
+
"returns": {
|
|
16622
|
+
"type": "string",
|
|
16623
|
+
"optional": true,
|
|
16624
|
+
"description": "The eTLD+1 (or a variant such as IP address if allowed) of the given hostname, or null if no such eTLD+1 (variant) exists."
|
|
16625
|
+
}
|
|
16626
|
+
}
|
|
16627
|
+
]
|
|
16628
|
+
}
|
|
16629
|
+
],
|
|
16373
16630
|
"runtime.json": [
|
|
16374
16631
|
{
|
|
16375
16632
|
"namespace": "manifest",
|
|
@@ -16489,7 +16746,6 @@
|
|
|
16489
16746
|
},
|
|
16490
16747
|
"documentId": {
|
|
16491
16748
|
"type": "string",
|
|
16492
|
-
"unsupported": true,
|
|
16493
16749
|
"optional": true,
|
|
16494
16750
|
"description": "An UUID for the document associated with this context, or undefined if it is not hosted in a document"
|
|
16495
16751
|
},
|
|
@@ -16574,6 +16830,11 @@
|
|
|
16574
16830
|
"optional": true,
|
|
16575
16831
|
"description": "The $(topic:frame_ids)[frame] that opened the connection. 0 for top-level frames, positive for child frames. This will only be set when <code>tab</code> is set."
|
|
16576
16832
|
},
|
|
16833
|
+
"documentId": {
|
|
16834
|
+
"type": "string",
|
|
16835
|
+
"optional": true,
|
|
16836
|
+
"description": "A UUID of the document that opened the connection."
|
|
16837
|
+
},
|
|
16577
16838
|
"id": {
|
|
16578
16839
|
"type": "string",
|
|
16579
16840
|
"optional": true,
|
|
@@ -16855,6 +17116,20 @@
|
|
|
16855
17116
|
"description": "The manifest details."
|
|
16856
17117
|
}
|
|
16857
17118
|
},
|
|
17119
|
+
{
|
|
17120
|
+
"name": "getVersion",
|
|
17121
|
+
"allowedContexts": [
|
|
17122
|
+
"content",
|
|
17123
|
+
"devtools"
|
|
17124
|
+
],
|
|
17125
|
+
"description": "Returns the extension version as declared in the manifest.",
|
|
17126
|
+
"type": "function",
|
|
17127
|
+
"parameters": [],
|
|
17128
|
+
"returns": {
|
|
17129
|
+
"type": "string",
|
|
17130
|
+
"description": "The extension version."
|
|
17131
|
+
}
|
|
17132
|
+
},
|
|
16858
17133
|
{
|
|
16859
17134
|
"name": "getURL",
|
|
16860
17135
|
"type": "function",
|
|
@@ -16876,18 +17151,39 @@
|
|
|
16876
17151
|
}
|
|
16877
17152
|
},
|
|
16878
17153
|
{
|
|
16879
|
-
"name": "
|
|
17154
|
+
"name": "getDocumentId",
|
|
16880
17155
|
"type": "function",
|
|
16881
17156
|
"allowedContexts": [
|
|
16882
17157
|
"content",
|
|
16883
17158
|
"devtools"
|
|
16884
17159
|
],
|
|
16885
|
-
"description": "Get the
|
|
17160
|
+
"description": "Get the documentId of any window global or frame element. Throws for invalid targets, such as unloaded frames.",
|
|
16886
17161
|
"parameters": [
|
|
16887
17162
|
{
|
|
16888
17163
|
"type": "any",
|
|
16889
17164
|
"name": "target",
|
|
16890
|
-
"description": "A WindowProxy or a
|
|
17165
|
+
"description": "A WindowProxy or a browsing context container Element (iframe, frame, embed, or object) for the target frame."
|
|
17166
|
+
}
|
|
17167
|
+
],
|
|
17168
|
+
"allowCrossOriginArguments": true,
|
|
17169
|
+
"returns": {
|
|
17170
|
+
"type": "string",
|
|
17171
|
+
"description": "The documentId of the target document."
|
|
17172
|
+
}
|
|
17173
|
+
},
|
|
17174
|
+
{
|
|
17175
|
+
"name": "getFrameId",
|
|
17176
|
+
"type": "function",
|
|
17177
|
+
"allowedContexts": [
|
|
17178
|
+
"content",
|
|
17179
|
+
"devtools"
|
|
17180
|
+
],
|
|
17181
|
+
"description": "Get the frameId of any window global or frame element.",
|
|
17182
|
+
"parameters": [
|
|
17183
|
+
{
|
|
17184
|
+
"type": "any",
|
|
17185
|
+
"name": "target",
|
|
17186
|
+
"description": "A WindowProxy or a browsing context container Element (iframe, frame, embed, or object) for the target frame."
|
|
16891
17187
|
}
|
|
16892
17188
|
],
|
|
16893
17189
|
"allowCrossOriginArguments": true,
|
|
@@ -17493,6 +17789,10 @@
|
|
|
17493
17789
|
"type": "object",
|
|
17494
17790
|
"description": "Result of a script injection.",
|
|
17495
17791
|
"properties": {
|
|
17792
|
+
"documentId": {
|
|
17793
|
+
"type": "string",
|
|
17794
|
+
"description": "The document associated with the injection."
|
|
17795
|
+
},
|
|
17496
17796
|
"frameId": {
|
|
17497
17797
|
"type": "integer",
|
|
17498
17798
|
"description": "The frame ID associated with the injection."
|
|
@@ -17529,6 +17829,14 @@
|
|
|
17529
17829
|
"tabId": {
|
|
17530
17830
|
"type": "number",
|
|
17531
17831
|
"description": "The ID of the tab into which to inject."
|
|
17832
|
+
},
|
|
17833
|
+
"documentIds": {
|
|
17834
|
+
"type": "array",
|
|
17835
|
+
"optional": true,
|
|
17836
|
+
"description": "The IDs of specific documents to inject into. This must not be set if <code>frameIds</code> or <code>allFrames</code> is set.",
|
|
17837
|
+
"items": {
|
|
17838
|
+
"type": "string"
|
|
17839
|
+
}
|
|
17532
17840
|
}
|
|
17533
17841
|
}
|
|
17534
17842
|
},
|
|
@@ -18990,6 +19298,83 @@
|
|
|
18990
19298
|
}
|
|
18991
19299
|
}
|
|
18992
19300
|
},
|
|
19301
|
+
{
|
|
19302
|
+
"id": "ThemeCSSGradient",
|
|
19303
|
+
"description": "A CSS gradient that can be used as a theme background, in addition to image assets. The single property name selects the gradient function, and its value holds the gradient's arguments, e.g. `{ \"linear-gradient\": \"to bottom, #FF6BBA, #FFC999\" }`.",
|
|
19304
|
+
"choices": [
|
|
19305
|
+
{
|
|
19306
|
+
"type": "object",
|
|
19307
|
+
"postprocess": "validCSSGradient",
|
|
19308
|
+
"properties": {
|
|
19309
|
+
"linear-gradient": {
|
|
19310
|
+
"type": "string"
|
|
19311
|
+
}
|
|
19312
|
+
},
|
|
19313
|
+
"additionalProperties": false
|
|
19314
|
+
},
|
|
19315
|
+
{
|
|
19316
|
+
"type": "object",
|
|
19317
|
+
"postprocess": "validCSSGradient",
|
|
19318
|
+
"properties": {
|
|
19319
|
+
"radial-gradient": {
|
|
19320
|
+
"type": "string"
|
|
19321
|
+
}
|
|
19322
|
+
},
|
|
19323
|
+
"additionalProperties": false
|
|
19324
|
+
},
|
|
19325
|
+
{
|
|
19326
|
+
"type": "object",
|
|
19327
|
+
"postprocess": "validCSSGradient",
|
|
19328
|
+
"properties": {
|
|
19329
|
+
"conic-gradient": {
|
|
19330
|
+
"type": "string"
|
|
19331
|
+
}
|
|
19332
|
+
},
|
|
19333
|
+
"additionalProperties": false
|
|
19334
|
+
},
|
|
19335
|
+
{
|
|
19336
|
+
"type": "object",
|
|
19337
|
+
"postprocess": "validCSSGradient",
|
|
19338
|
+
"properties": {
|
|
19339
|
+
"repeating-linear-gradient": {
|
|
19340
|
+
"type": "string"
|
|
19341
|
+
}
|
|
19342
|
+
},
|
|
19343
|
+
"additionalProperties": false
|
|
19344
|
+
},
|
|
19345
|
+
{
|
|
19346
|
+
"type": "object",
|
|
19347
|
+
"postprocess": "validCSSGradient",
|
|
19348
|
+
"properties": {
|
|
19349
|
+
"repeating-radial-gradient": {
|
|
19350
|
+
"type": "string"
|
|
19351
|
+
}
|
|
19352
|
+
},
|
|
19353
|
+
"additionalProperties": false
|
|
19354
|
+
},
|
|
19355
|
+
{
|
|
19356
|
+
"type": "object",
|
|
19357
|
+
"postprocess": "validCSSGradient",
|
|
19358
|
+
"properties": {
|
|
19359
|
+
"repeating-conic-gradient": {
|
|
19360
|
+
"type": "string"
|
|
19361
|
+
}
|
|
19362
|
+
},
|
|
19363
|
+
"additionalProperties": false
|
|
19364
|
+
}
|
|
19365
|
+
]
|
|
19366
|
+
},
|
|
19367
|
+
{
|
|
19368
|
+
"id": "ThemeBackground",
|
|
19369
|
+
"choices": [
|
|
19370
|
+
{
|
|
19371
|
+
"$ref": "ImageDataOrExtensionURL"
|
|
19372
|
+
},
|
|
19373
|
+
{
|
|
19374
|
+
"$ref": "ThemeCSSGradient"
|
|
19375
|
+
}
|
|
19376
|
+
]
|
|
19377
|
+
},
|
|
18993
19378
|
{
|
|
18994
19379
|
"id": "ThemeType",
|
|
18995
19380
|
"type": "object",
|
|
@@ -19001,7 +19386,7 @@
|
|
|
19001
19386
|
"additional_backgrounds": {
|
|
19002
19387
|
"type": "array",
|
|
19003
19388
|
"items": {
|
|
19004
|
-
"$ref": "
|
|
19389
|
+
"$ref": "ThemeBackground"
|
|
19005
19390
|
},
|
|
19006
19391
|
"maxItems": 15,
|
|
19007
19392
|
"optional": true
|
|
@@ -19012,7 +19397,7 @@
|
|
|
19012
19397
|
"deprecated": "Unsupported images property, use 'theme.images.theme_frame', this alias is ignored in Firefox >= 70."
|
|
19013
19398
|
},
|
|
19014
19399
|
"theme_frame": {
|
|
19015
|
-
"$ref": "
|
|
19400
|
+
"$ref": "ThemeBackground",
|
|
19016
19401
|
"optional": true
|
|
19017
19402
|
}
|
|
19018
19403
|
},
|
|
@@ -19205,6 +19590,15 @@
|
|
|
19205
19590
|
"type": "object",
|
|
19206
19591
|
"optional": true,
|
|
19207
19592
|
"properties": {
|
|
19593
|
+
"backgrounds_area": {
|
|
19594
|
+
"type": "string",
|
|
19595
|
+
"enum": [
|
|
19596
|
+
"auto",
|
|
19597
|
+
"window",
|
|
19598
|
+
"top_toolbars"
|
|
19599
|
+
],
|
|
19600
|
+
"optional": true
|
|
19601
|
+
},
|
|
19208
19602
|
"additional_backgrounds_alignment": {
|
|
19209
19603
|
"type": "array",
|
|
19210
19604
|
"items": {
|
|
@@ -19243,6 +19637,14 @@
|
|
|
19243
19637
|
"maxItems": 15,
|
|
19244
19638
|
"optional": true
|
|
19245
19639
|
},
|
|
19640
|
+
"additional_backgrounds_size": {
|
|
19641
|
+
"type": "array",
|
|
19642
|
+
"items": {
|
|
19643
|
+
"type": "string"
|
|
19644
|
+
},
|
|
19645
|
+
"maxItems": 15,
|
|
19646
|
+
"optional": true
|
|
19647
|
+
},
|
|
19246
19648
|
"color_scheme": {
|
|
19247
19649
|
"optional": true,
|
|
19248
19650
|
"type": "string",
|
|
@@ -19955,6 +20357,100 @@
|
|
|
19955
20357
|
"description": "Whether the runtime.sendMessage and runtime.connect methods are exposed. Defaults to not exposing these messaging APIs."
|
|
19956
20358
|
}
|
|
19957
20359
|
}
|
|
20360
|
+
},
|
|
20361
|
+
{
|
|
20362
|
+
"id": "UserScriptInjection",
|
|
20363
|
+
"min_manifest_version": 3,
|
|
20364
|
+
"type": "object",
|
|
20365
|
+
"description": "Details of a user script injection",
|
|
20366
|
+
"properties": {
|
|
20367
|
+
"injectImmediately": {
|
|
20368
|
+
"type": "boolean",
|
|
20369
|
+
"optional": true,
|
|
20370
|
+
"description": "Whether the injection should be triggered in the target as soon as possible. Note that this is not a guarantee that injection will occur prior to page load, as the page may have already loaded by the time the script reaches the target."
|
|
20371
|
+
},
|
|
20372
|
+
"js": {
|
|
20373
|
+
"type": "array",
|
|
20374
|
+
"optional": false,
|
|
20375
|
+
"description": "The list of ScriptSource objects defining sources of scripts to be injected into matching pages.",
|
|
20376
|
+
"items": {
|
|
20377
|
+
"$ref": "ScriptSource"
|
|
20378
|
+
}
|
|
20379
|
+
},
|
|
20380
|
+
"target": {
|
|
20381
|
+
"$ref": "InjectionTarget",
|
|
20382
|
+
"description": "Details specifying the target into which to inject the script."
|
|
20383
|
+
},
|
|
20384
|
+
"world": {
|
|
20385
|
+
"$ref": "ExecutionWorld",
|
|
20386
|
+
"optional": true,
|
|
20387
|
+
"description": "The JavaScript \"world\" to run the script in. The default is `USER_SCRIPT`."
|
|
20388
|
+
},
|
|
20389
|
+
"worldId": {
|
|
20390
|
+
"type": "string",
|
|
20391
|
+
"optional": true,
|
|
20392
|
+
"description": "A specific user script world ID to execute in. Only valid if `world` is omitted or is `USER_SCRIPT`. If `worldId` is omitted, the default value is an empty string (\"\") and the script will execute in the default world."
|
|
20393
|
+
}
|
|
20394
|
+
}
|
|
20395
|
+
},
|
|
20396
|
+
{
|
|
20397
|
+
"id": "InjectionTarget",
|
|
20398
|
+
"min_manifest_version": 3,
|
|
20399
|
+
"type": "object",
|
|
20400
|
+
"description": "Details specifying the target into which to inject the script.",
|
|
20401
|
+
"properties": {
|
|
20402
|
+
"allFrames": {
|
|
20403
|
+
"type": "boolean",
|
|
20404
|
+
"optional": true,
|
|
20405
|
+
"description": "Whether the script should inject into all frames within the tab. Defaults to false. This must not be true if `frameIds` is specified."
|
|
20406
|
+
},
|
|
20407
|
+
"documentIds": {
|
|
20408
|
+
"type": "array",
|
|
20409
|
+
"optional": true,
|
|
20410
|
+
"description": "The IDs of specific documentIds to inject into. This must not be set if frameIds is set.",
|
|
20411
|
+
"items": {
|
|
20412
|
+
"type": "string"
|
|
20413
|
+
}
|
|
20414
|
+
},
|
|
20415
|
+
"frameIds": {
|
|
20416
|
+
"type": "array",
|
|
20417
|
+
"optional": true,
|
|
20418
|
+
"description": "The IDs of specific frames to inject into.",
|
|
20419
|
+
"items": {
|
|
20420
|
+
"type": "number"
|
|
20421
|
+
}
|
|
20422
|
+
},
|
|
20423
|
+
"tabId": {
|
|
20424
|
+
"type": "number",
|
|
20425
|
+
"description": "The ID of the tab into which to inject."
|
|
20426
|
+
}
|
|
20427
|
+
}
|
|
20428
|
+
},
|
|
20429
|
+
{
|
|
20430
|
+
"id": "InjectionResult",
|
|
20431
|
+
"min_manifest_version": 3,
|
|
20432
|
+
"type": "object",
|
|
20433
|
+
"description": "Result of a user script injection.",
|
|
20434
|
+
"properties": {
|
|
20435
|
+
"documentId": {
|
|
20436
|
+
"type": "string",
|
|
20437
|
+
"description": "Document ID associated with the injection."
|
|
20438
|
+
},
|
|
20439
|
+
"frameId": {
|
|
20440
|
+
"type": "integer",
|
|
20441
|
+
"description": "Frame ID associated with the injection."
|
|
20442
|
+
},
|
|
20443
|
+
"result": {
|
|
20444
|
+
"type": "any",
|
|
20445
|
+
"optional": true,
|
|
20446
|
+
"description": "Result of the script injection if any. This is mutually exclusive with error."
|
|
20447
|
+
},
|
|
20448
|
+
"error": {
|
|
20449
|
+
"type": "any",
|
|
20450
|
+
"optional": true,
|
|
20451
|
+
"description": "Error message if any. This is mutually exclusive with result. The value is typically an (Error) object with a message property, but could be any value (including primitives and undefined) if the user script threw or rejected with such a value."
|
|
20452
|
+
}
|
|
20453
|
+
}
|
|
19958
20454
|
}
|
|
19959
20455
|
],
|
|
19960
20456
|
"functions": [
|
|
@@ -20130,6 +20626,34 @@
|
|
|
20130
20626
|
]
|
|
20131
20627
|
}
|
|
20132
20628
|
]
|
|
20629
|
+
},
|
|
20630
|
+
{
|
|
20631
|
+
"name": "execute",
|
|
20632
|
+
"min_manifest_version": 3,
|
|
20633
|
+
"type": "function",
|
|
20634
|
+
"description": "Executes one or more ephemeral user scripts into a specific tab.",
|
|
20635
|
+
"async": "callback",
|
|
20636
|
+
"parameters": [
|
|
20637
|
+
{
|
|
20638
|
+
"name": "injection",
|
|
20639
|
+
"$ref": "UserScriptInjection",
|
|
20640
|
+
"description": "The details of the user script which to inject."
|
|
20641
|
+
},
|
|
20642
|
+
{
|
|
20643
|
+
"name": "callback",
|
|
20644
|
+
"type": "function",
|
|
20645
|
+
"description": "Invoked upon completion of the injection. The resulting array contains the result of execution for each frame where the injection succeeded.",
|
|
20646
|
+
"parameters": [
|
|
20647
|
+
{
|
|
20648
|
+
"name": "results",
|
|
20649
|
+
"type": "array",
|
|
20650
|
+
"items": {
|
|
20651
|
+
"$ref": "InjectionResult"
|
|
20652
|
+
}
|
|
20653
|
+
}
|
|
20654
|
+
]
|
|
20655
|
+
}
|
|
20656
|
+
]
|
|
20133
20657
|
}
|
|
20134
20658
|
]
|
|
20135
20659
|
}
|
|
@@ -20272,7 +20796,7 @@
|
|
|
20272
20796
|
{
|
|
20273
20797
|
"name": "getFrame",
|
|
20274
20798
|
"type": "function",
|
|
20275
|
-
"description": "Retrieves information about the given frame. A frame refers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID.",
|
|
20799
|
+
"description": "Retrieves information about the given frame. A frame refers to an <iframe> or a <frame> of a web page and is identified by a tab ID and a frame ID, or by its document ID.",
|
|
20276
20800
|
"async": "callback",
|
|
20277
20801
|
"parameters": [
|
|
20278
20802
|
{
|
|
@@ -20281,9 +20805,10 @@
|
|
|
20281
20805
|
"description": "Information about the frame to retrieve information about.",
|
|
20282
20806
|
"properties": {
|
|
20283
20807
|
"tabId": {
|
|
20808
|
+
"optional": true,
|
|
20284
20809
|
"type": "integer",
|
|
20285
20810
|
"minimum": 0,
|
|
20286
|
-
"description": "The ID of the tab in which the frame is."
|
|
20811
|
+
"description": "The ID of the tab in which the frame is. Must be specified if documentId is not set."
|
|
20287
20812
|
},
|
|
20288
20813
|
"processId": {
|
|
20289
20814
|
"optional": true,
|
|
@@ -20291,9 +20816,15 @@
|
|
|
20291
20816
|
"description": "The ID of the process runs the renderer for this tab."
|
|
20292
20817
|
},
|
|
20293
20818
|
"frameId": {
|
|
20819
|
+
"optional": true,
|
|
20294
20820
|
"type": "integer",
|
|
20295
20821
|
"minimum": 0,
|
|
20296
|
-
"description": "The ID of the frame in the given tab."
|
|
20822
|
+
"description": "The ID of the frame in the given tab. Must be specified if documentId is not set."
|
|
20823
|
+
},
|
|
20824
|
+
"documentId": {
|
|
20825
|
+
"optional": true,
|
|
20826
|
+
"type": "string",
|
|
20827
|
+
"description": "The UUID of the document. If provided, tabId and frameId are optional. If all are provided, the frame is only returned if all properties match."
|
|
20297
20828
|
}
|
|
20298
20829
|
}
|
|
20299
20830
|
},
|
|
@@ -20327,6 +20858,15 @@
|
|
|
20327
20858
|
"parentFrameId": {
|
|
20328
20859
|
"type": "integer",
|
|
20329
20860
|
"description": "ID of frame that wraps the frame. Set to -1 of no parent frame exists."
|
|
20861
|
+
},
|
|
20862
|
+
"documentId": {
|
|
20863
|
+
"type": "string",
|
|
20864
|
+
"description": "A UUID of the document loaded."
|
|
20865
|
+
},
|
|
20866
|
+
"parentDocumentId": {
|
|
20867
|
+
"type": "string",
|
|
20868
|
+
"optional": true,
|
|
20869
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
20330
20870
|
}
|
|
20331
20871
|
}
|
|
20332
20872
|
}
|
|
@@ -20386,6 +20926,15 @@
|
|
|
20386
20926
|
"type": "integer",
|
|
20387
20927
|
"description": "ID of frame that wraps the frame. Set to -1 of no parent frame exists."
|
|
20388
20928
|
},
|
|
20929
|
+
"documentId": {
|
|
20930
|
+
"type": "string",
|
|
20931
|
+
"description": "A UUID of the document loaded."
|
|
20932
|
+
},
|
|
20933
|
+
"parentDocumentId": {
|
|
20934
|
+
"type": "string",
|
|
20935
|
+
"optional": true,
|
|
20936
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
20937
|
+
},
|
|
20389
20938
|
"url": {
|
|
20390
20939
|
"type": "string",
|
|
20391
20940
|
"description": "The URL currently associated with this frame."
|
|
@@ -20428,6 +20977,11 @@
|
|
|
20428
20977
|
"type": "integer",
|
|
20429
20978
|
"description": "ID of frame that wraps the frame. Set to -1 of no parent frame exists."
|
|
20430
20979
|
},
|
|
20980
|
+
"parentDocumentId": {
|
|
20981
|
+
"type": "string",
|
|
20982
|
+
"optional": true,
|
|
20983
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
20984
|
+
},
|
|
20431
20985
|
"timeStamp": {
|
|
20432
20986
|
"type": "number",
|
|
20433
20987
|
"description": "The time when the browser was about to start the navigation, in milliseconds since the epoch."
|
|
@@ -20469,6 +21023,15 @@
|
|
|
20469
21023
|
"type": "integer",
|
|
20470
21024
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20471
21025
|
},
|
|
21026
|
+
"documentId": {
|
|
21027
|
+
"type": "string",
|
|
21028
|
+
"description": "A UUID of the document loaded."
|
|
21029
|
+
},
|
|
21030
|
+
"parentDocumentId": {
|
|
21031
|
+
"type": "string",
|
|
21032
|
+
"optional": true,
|
|
21033
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
21034
|
+
},
|
|
20472
21035
|
"transitionType": {
|
|
20473
21036
|
"$ref": "TransitionType",
|
|
20474
21037
|
"description": "Cause of the navigation."
|
|
@@ -20521,6 +21084,15 @@
|
|
|
20521
21084
|
"type": "integer",
|
|
20522
21085
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20523
21086
|
},
|
|
21087
|
+
"documentId": {
|
|
21088
|
+
"type": "string",
|
|
21089
|
+
"description": "A UUID of the document loaded."
|
|
21090
|
+
},
|
|
21091
|
+
"parentDocumentId": {
|
|
21092
|
+
"type": "string",
|
|
21093
|
+
"optional": true,
|
|
21094
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
21095
|
+
},
|
|
20524
21096
|
"timeStamp": {
|
|
20525
21097
|
"type": "number",
|
|
20526
21098
|
"description": "The time when the page's DOM was fully constructed, in milliseconds since the epoch."
|
|
@@ -20562,6 +21134,15 @@
|
|
|
20562
21134
|
"type": "integer",
|
|
20563
21135
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20564
21136
|
},
|
|
21137
|
+
"documentId": {
|
|
21138
|
+
"type": "string",
|
|
21139
|
+
"description": "A UUID of the document loaded."
|
|
21140
|
+
},
|
|
21141
|
+
"parentDocumentId": {
|
|
21142
|
+
"type": "string",
|
|
21143
|
+
"optional": true,
|
|
21144
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
21145
|
+
},
|
|
20565
21146
|
"timeStamp": {
|
|
20566
21147
|
"type": "number",
|
|
20567
21148
|
"description": "The time when the document finished loading, in milliseconds since the epoch."
|
|
@@ -20603,6 +21184,15 @@
|
|
|
20603
21184
|
"type": "integer",
|
|
20604
21185
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20605
21186
|
},
|
|
21187
|
+
"documentId": {
|
|
21188
|
+
"type": "string",
|
|
21189
|
+
"description": "A UUID of the document loaded."
|
|
21190
|
+
},
|
|
21191
|
+
"parentDocumentId": {
|
|
21192
|
+
"type": "string",
|
|
21193
|
+
"optional": true,
|
|
21194
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
21195
|
+
},
|
|
20606
21196
|
"error": {
|
|
20607
21197
|
"unsupported": true,
|
|
20608
21198
|
"type": "string",
|
|
@@ -20694,6 +21284,15 @@
|
|
|
20694
21284
|
"type": "integer",
|
|
20695
21285
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20696
21286
|
},
|
|
21287
|
+
"documentId": {
|
|
21288
|
+
"type": "string",
|
|
21289
|
+
"description": "A UUID of the document loaded."
|
|
21290
|
+
},
|
|
21291
|
+
"parentDocumentId": {
|
|
21292
|
+
"type": "string",
|
|
21293
|
+
"optional": true,
|
|
21294
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
21295
|
+
},
|
|
20697
21296
|
"transitionType": {
|
|
20698
21297
|
"$ref": "TransitionType",
|
|
20699
21298
|
"description": "Cause of the navigation."
|
|
@@ -20771,6 +21370,15 @@
|
|
|
20771
21370
|
"type": "integer",
|
|
20772
21371
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
20773
21372
|
},
|
|
21373
|
+
"documentId": {
|
|
21374
|
+
"type": "string",
|
|
21375
|
+
"description": "A UUID of the document loaded."
|
|
21376
|
+
},
|
|
21377
|
+
"parentDocumentId": {
|
|
21378
|
+
"type": "string",
|
|
21379
|
+
"optional": true,
|
|
21380
|
+
"description": "A UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
21381
|
+
},
|
|
20774
21382
|
"transitionType": {
|
|
20775
21383
|
"$ref": "TransitionType",
|
|
20776
21384
|
"description": "Cause of the navigation."
|
|
@@ -21402,6 +22010,16 @@
|
|
|
21402
22010
|
"type": "integer",
|
|
21403
22011
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
21404
22012
|
},
|
|
22013
|
+
"documentId": {
|
|
22014
|
+
"type": "string",
|
|
22015
|
+
"optional": true,
|
|
22016
|
+
"description": "The UUID of the document making the request."
|
|
22017
|
+
},
|
|
22018
|
+
"parentDocumentId": {
|
|
22019
|
+
"type": "string",
|
|
22020
|
+
"optional": true,
|
|
22021
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22022
|
+
},
|
|
21405
22023
|
"incognito": {
|
|
21406
22024
|
"type": "boolean",
|
|
21407
22025
|
"optional": true,
|
|
@@ -21528,6 +22146,16 @@
|
|
|
21528
22146
|
"type": "integer",
|
|
21529
22147
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
21530
22148
|
},
|
|
22149
|
+
"documentId": {
|
|
22150
|
+
"type": "string",
|
|
22151
|
+
"optional": true,
|
|
22152
|
+
"description": "The UUID of the document making the request."
|
|
22153
|
+
},
|
|
22154
|
+
"parentDocumentId": {
|
|
22155
|
+
"type": "string",
|
|
22156
|
+
"optional": true,
|
|
22157
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22158
|
+
},
|
|
21531
22159
|
"incognito": {
|
|
21532
22160
|
"type": "boolean",
|
|
21533
22161
|
"optional": true,
|
|
@@ -21627,6 +22255,16 @@
|
|
|
21627
22255
|
"type": "integer",
|
|
21628
22256
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
21629
22257
|
},
|
|
22258
|
+
"documentId": {
|
|
22259
|
+
"type": "string",
|
|
22260
|
+
"optional": true,
|
|
22261
|
+
"description": "The UUID of the document making the request."
|
|
22262
|
+
},
|
|
22263
|
+
"parentDocumentId": {
|
|
22264
|
+
"type": "string",
|
|
22265
|
+
"optional": true,
|
|
22266
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22267
|
+
},
|
|
21630
22268
|
"incognito": {
|
|
21631
22269
|
"type": "boolean",
|
|
21632
22270
|
"optional": true,
|
|
@@ -21721,6 +22359,16 @@
|
|
|
21721
22359
|
"type": "integer",
|
|
21722
22360
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
21723
22361
|
},
|
|
22362
|
+
"documentId": {
|
|
22363
|
+
"type": "string",
|
|
22364
|
+
"optional": true,
|
|
22365
|
+
"description": "The UUID of the document making the request."
|
|
22366
|
+
},
|
|
22367
|
+
"parentDocumentId": {
|
|
22368
|
+
"type": "string",
|
|
22369
|
+
"optional": true,
|
|
22370
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22371
|
+
},
|
|
21724
22372
|
"incognito": {
|
|
21725
22373
|
"type": "boolean",
|
|
21726
22374
|
"optional": true,
|
|
@@ -21828,6 +22476,16 @@
|
|
|
21828
22476
|
"type": "integer",
|
|
21829
22477
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
21830
22478
|
},
|
|
22479
|
+
"documentId": {
|
|
22480
|
+
"type": "string",
|
|
22481
|
+
"optional": true,
|
|
22482
|
+
"description": "The UUID of the document making the request."
|
|
22483
|
+
},
|
|
22484
|
+
"parentDocumentId": {
|
|
22485
|
+
"type": "string",
|
|
22486
|
+
"optional": true,
|
|
22487
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22488
|
+
},
|
|
21831
22489
|
"incognito": {
|
|
21832
22490
|
"type": "boolean",
|
|
21833
22491
|
"optional": true,
|
|
@@ -21972,6 +22630,16 @@
|
|
|
21972
22630
|
"type": "integer",
|
|
21973
22631
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
21974
22632
|
},
|
|
22633
|
+
"documentId": {
|
|
22634
|
+
"type": "string",
|
|
22635
|
+
"optional": true,
|
|
22636
|
+
"description": "The UUID of the document making the request."
|
|
22637
|
+
},
|
|
22638
|
+
"parentDocumentId": {
|
|
22639
|
+
"type": "string",
|
|
22640
|
+
"optional": true,
|
|
22641
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22642
|
+
},
|
|
21975
22643
|
"incognito": {
|
|
21976
22644
|
"type": "boolean",
|
|
21977
22645
|
"optional": true,
|
|
@@ -22083,6 +22751,16 @@
|
|
|
22083
22751
|
"type": "integer",
|
|
22084
22752
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
22085
22753
|
},
|
|
22754
|
+
"documentId": {
|
|
22755
|
+
"type": "string",
|
|
22756
|
+
"optional": true,
|
|
22757
|
+
"description": "The UUID of the document making the request."
|
|
22758
|
+
},
|
|
22759
|
+
"parentDocumentId": {
|
|
22760
|
+
"type": "string",
|
|
22761
|
+
"optional": true,
|
|
22762
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22763
|
+
},
|
|
22086
22764
|
"incognito": {
|
|
22087
22765
|
"type": "boolean",
|
|
22088
22766
|
"optional": true,
|
|
@@ -22198,6 +22876,16 @@
|
|
|
22198
22876
|
"type": "integer",
|
|
22199
22877
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
22200
22878
|
},
|
|
22879
|
+
"documentId": {
|
|
22880
|
+
"type": "string",
|
|
22881
|
+
"optional": true,
|
|
22882
|
+
"description": "The UUID of the document making the request."
|
|
22883
|
+
},
|
|
22884
|
+
"parentDocumentId": {
|
|
22885
|
+
"type": "string",
|
|
22886
|
+
"optional": true,
|
|
22887
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
22888
|
+
},
|
|
22201
22889
|
"incognito": {
|
|
22202
22890
|
"type": "boolean",
|
|
22203
22891
|
"optional": true,
|
|
@@ -22316,6 +23004,16 @@
|
|
|
22316
23004
|
"type": "integer",
|
|
22317
23005
|
"description": "ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists."
|
|
22318
23006
|
},
|
|
23007
|
+
"documentId": {
|
|
23008
|
+
"type": "string",
|
|
23009
|
+
"optional": true,
|
|
23010
|
+
"description": "The UUID of the document making the request. This value is not present if the request is a navigation of a frame."
|
|
23011
|
+
},
|
|
23012
|
+
"parentDocumentId": {
|
|
23013
|
+
"type": "string",
|
|
23014
|
+
"optional": true,
|
|
23015
|
+
"description": "The UUID of the parent document owning this frame. This is not set if there is no parent."
|
|
23016
|
+
},
|
|
22319
23017
|
"incognito": {
|
|
22320
23018
|
"type": "boolean",
|
|
22321
23019
|
"optional": true,
|