chrome-types 0.1.131 → 0.1.134
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/_all.d.ts +689 -9
- package/index.d.ts +669 -9
- package/package.json +2 -2
package/_all.d.ts
CHANGED
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
// Generated on
|
|
18
|
-
// Built at
|
|
17
|
+
// Generated on Tue Aug 30 2022 22:29:28 GMT+0000 (Coordinated Universal Time)
|
|
18
|
+
// Built at 2dcd5aa99fd73de21a01369f46f13f5f0109016d
|
|
19
19
|
|
|
20
20
|
// Includes all types, including MV2 + Platform Apps APIs.
|
|
21
21
|
|
|
@@ -2347,6 +2347,16 @@ declare namespace chrome {
|
|
|
2347
2347
|
*/
|
|
2348
2348
|
name?: string;
|
|
2349
2349
|
|
|
2350
|
+
/**
|
|
2351
|
+
* Explains what will happen when the doDefault action is performed.
|
|
2352
|
+
*/
|
|
2353
|
+
doDefaultLabel?: string;
|
|
2354
|
+
|
|
2355
|
+
/**
|
|
2356
|
+
* Explains what will happen when the long click action is performed.
|
|
2357
|
+
*/
|
|
2358
|
+
longClickLabel?: string;
|
|
2359
|
+
|
|
2350
2360
|
/**
|
|
2351
2361
|
* The tooltip of the node, if any.
|
|
2352
2362
|
*/
|
|
@@ -9348,11 +9358,39 @@ declare namespace chrome {
|
|
|
9348
9358
|
*/
|
|
9349
9359
|
frameId: number;
|
|
9350
9360
|
|
|
9361
|
+
/**
|
|
9362
|
+
* The unique identifier for the frame's document, if this request is for a frame.
|
|
9363
|
+
*
|
|
9364
|
+
* @since Pending
|
|
9365
|
+
*/
|
|
9366
|
+
documentId?: string;
|
|
9367
|
+
|
|
9368
|
+
/**
|
|
9369
|
+
* The type of the frame, if this request is for a frame.
|
|
9370
|
+
*
|
|
9371
|
+
* @since Pending
|
|
9372
|
+
*/
|
|
9373
|
+
frameType?: extensionTypes.FrameType;
|
|
9374
|
+
|
|
9375
|
+
/**
|
|
9376
|
+
* The lifecycle of the frame's document, if this request is for a frame.
|
|
9377
|
+
*
|
|
9378
|
+
* @since Pending
|
|
9379
|
+
*/
|
|
9380
|
+
documentLifecycle?: extensionTypes.DocumentLifecycle;
|
|
9381
|
+
|
|
9351
9382
|
/**
|
|
9352
9383
|
* ID of frame that wraps the frame which sent the request. Set to -1 if no parent frame exists.
|
|
9353
9384
|
*/
|
|
9354
9385
|
parentFrameId: number;
|
|
9355
9386
|
|
|
9387
|
+
/**
|
|
9388
|
+
* The unique identifier for the frame's parent document, if this request is for a frame and has a parent.
|
|
9389
|
+
*
|
|
9390
|
+
* @since Pending
|
|
9391
|
+
*/
|
|
9392
|
+
parentDocumentId?: string;
|
|
9393
|
+
|
|
9356
9394
|
/**
|
|
9357
9395
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
9358
9396
|
*/
|
|
@@ -10378,6 +10416,26 @@ declare namespace chrome {
|
|
|
10378
10416
|
*/
|
|
10379
10417
|
parentFrameId: number,
|
|
10380
10418
|
|
|
10419
|
+
/**
|
|
10420
|
+
* A UUID of the document that made the request.
|
|
10421
|
+
*/
|
|
10422
|
+
documentId?: string,
|
|
10423
|
+
|
|
10424
|
+
/**
|
|
10425
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
10426
|
+
*/
|
|
10427
|
+
parentDocumentId?: string,
|
|
10428
|
+
|
|
10429
|
+
/**
|
|
10430
|
+
* The lifecycle the document is in.
|
|
10431
|
+
*/
|
|
10432
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
10433
|
+
|
|
10434
|
+
/**
|
|
10435
|
+
* The type of frame the navigation occurred in.
|
|
10436
|
+
*/
|
|
10437
|
+
frameType: extensionTypes.FrameType,
|
|
10438
|
+
|
|
10381
10439
|
/**
|
|
10382
10440
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
10383
10441
|
*/
|
|
@@ -10411,10 +10469,17 @@ declare namespace chrome {
|
|
|
10411
10469
|
/**
|
|
10412
10470
|
* Mirrors [SystemAudioPreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-systemaudiopreferenceenum).
|
|
10413
10471
|
*
|
|
10414
|
-
* @since
|
|
10472
|
+
* @since Chrome 105
|
|
10415
10473
|
*/
|
|
10416
10474
|
export type SystemAudioPreferenceEnum = "include" | "exclude";
|
|
10417
10475
|
|
|
10476
|
+
/**
|
|
10477
|
+
* Mirrors [SelfCapturePreferenceEnum](https://w3c.github.io/mediacapture-screen-share/#dom-selfcapturepreferenceenum).
|
|
10478
|
+
*
|
|
10479
|
+
* @since Pending
|
|
10480
|
+
*/
|
|
10481
|
+
export type SelfCapturePreferenceEnum = "include" | "exclude";
|
|
10482
|
+
|
|
10418
10483
|
/**
|
|
10419
10484
|
* Shows desktop media picker UI with the specified set of sources.
|
|
10420
10485
|
*
|
|
@@ -11015,7 +11080,7 @@ declare namespace chrome {
|
|
|
11015
11080
|
/**
|
|
11016
11081
|
* Use the `chrome.devtools.recorder` API to customize the Recorder panel in DevTools.
|
|
11017
11082
|
*
|
|
11018
|
-
* @since
|
|
11083
|
+
* @since Chrome 105
|
|
11019
11084
|
*/
|
|
11020
11085
|
export namespace devtools.recorder {
|
|
11021
11086
|
|
|
@@ -11759,7 +11824,7 @@ declare namespace chrome {
|
|
|
11759
11824
|
}
|
|
11760
11825
|
|
|
11761
11826
|
/**
|
|
11762
|
-
* @since
|
|
11827
|
+
* @since Chrome 105
|
|
11763
11828
|
*/
|
|
11764
11829
|
export interface UiOptions {
|
|
11765
11830
|
|
|
@@ -12052,8 +12117,9 @@ declare namespace chrome {
|
|
|
12052
12117
|
/**
|
|
12053
12118
|
* Change the download UI of every window associated with the current browser profile. As long as at least one extension has set {@link UiOptions.enabled} to false, the download UI will be hidden. Setting {@link UiOptions.enabled} to true while at least one other extension has disabled it will return an error through {@link runtime.lastError}. Requires the `"downloads.ui"` permission in addition to the `"downloads"` permission.
|
|
12054
12119
|
*
|
|
12120
|
+
* @chrome-returns-extra since Pending
|
|
12055
12121
|
* @param options Encapsulate a change to the download UI.
|
|
12056
|
-
* @since
|
|
12122
|
+
* @since Chrome 105
|
|
12057
12123
|
*/
|
|
12058
12124
|
export function setUiOptions(
|
|
12059
12125
|
|
|
@@ -12065,7 +12131,7 @@ declare namespace chrome {
|
|
|
12065
12131
|
*
|
|
12066
12132
|
* @param options Encapsulate a change to the download UI.
|
|
12067
12133
|
* @param callback Called when the UI update is completed.
|
|
12068
|
-
* @since
|
|
12134
|
+
* @since Chrome 105
|
|
12069
12135
|
*/
|
|
12070
12136
|
export function setUiOptions(
|
|
12071
12137
|
|
|
@@ -13284,6 +13350,20 @@ declare namespace chrome {
|
|
|
13284
13350
|
*/
|
|
13285
13351
|
cssOrigin?: CSSOrigin;
|
|
13286
13352
|
}
|
|
13353
|
+
|
|
13354
|
+
/**
|
|
13355
|
+
* The type of frame.
|
|
13356
|
+
*
|
|
13357
|
+
* @since Pending
|
|
13358
|
+
*/
|
|
13359
|
+
export type FrameType = "outermost_frame" | "fenced_frame" | "sub_frame";
|
|
13360
|
+
|
|
13361
|
+
/**
|
|
13362
|
+
* The document lifecycle of the frame.
|
|
13363
|
+
*
|
|
13364
|
+
* @since Pending
|
|
13365
|
+
*/
|
|
13366
|
+
export type DocumentLifecycle = "prerender" | "active" | "cached" | "pending_deletion";
|
|
13287
13367
|
}
|
|
13288
13368
|
|
|
13289
13369
|
/**
|
|
@@ -16326,7 +16406,7 @@ declare namespace chrome {
|
|
|
16326
16406
|
}
|
|
16327
16407
|
|
|
16328
16408
|
/**
|
|
16329
|
-
* @since
|
|
16409
|
+
* @since Chrome 105
|
|
16330
16410
|
*/
|
|
16331
16411
|
export interface GetAuthTokenResult {
|
|
16332
16412
|
|
|
@@ -16405,7 +16485,7 @@ declare namespace chrome {
|
|
|
16405
16485
|
|
|
16406
16486
|
callback?: (
|
|
16407
16487
|
/**
|
|
16408
|
-
* @since
|
|
16488
|
+
* @since Chrome 105
|
|
16409
16489
|
*/
|
|
16410
16490
|
result: GetAuthTokenResult,
|
|
16411
16491
|
) => void,
|
|
@@ -22922,6 +23002,20 @@ declare namespace chrome {
|
|
|
22922
23002
|
* @since Chrome 80
|
|
22923
23003
|
*/
|
|
22924
23004
|
origin?: string;
|
|
23005
|
+
|
|
23006
|
+
/**
|
|
23007
|
+
* A UUID of the document that opened the connection.
|
|
23008
|
+
*
|
|
23009
|
+
* @since Pending
|
|
23010
|
+
*/
|
|
23011
|
+
documentId?: string;
|
|
23012
|
+
|
|
23013
|
+
/**
|
|
23014
|
+
* The lifecycle the document that opened the connection is in at the time the port was created. Note that the lifecycle state of the document may have changed since port creation.
|
|
23015
|
+
*
|
|
23016
|
+
* @since Pending
|
|
23017
|
+
*/
|
|
23018
|
+
documentLifecycle?: string;
|
|
22925
23019
|
}
|
|
22926
23020
|
|
|
22927
23021
|
/**
|
|
@@ -23499,6 +23593,13 @@ declare namespace chrome {
|
|
|
23499
23593
|
*/
|
|
23500
23594
|
frameIds?: number[];
|
|
23501
23595
|
|
|
23596
|
+
/**
|
|
23597
|
+
* The [IDs](https://developer.chrome.com/docs/extensions/reference/webNavigation/#document_ids) of specific documentIds to inject into. This must not be set if `frameIds` is set.
|
|
23598
|
+
*
|
|
23599
|
+
* @since Pending
|
|
23600
|
+
*/
|
|
23601
|
+
documentIds?: string[];
|
|
23602
|
+
|
|
23502
23603
|
/**
|
|
23503
23604
|
* Whether the script should inject into all frames within the tab. Defaults to false. This must not be true if `frameIds` is specified.
|
|
23504
23605
|
*/
|
|
@@ -23582,6 +23683,13 @@ declare namespace chrome {
|
|
|
23582
23683
|
* @since Chrome 90
|
|
23583
23684
|
*/
|
|
23584
23685
|
frameId: number;
|
|
23686
|
+
|
|
23687
|
+
/**
|
|
23688
|
+
* The document associated with the injection.
|
|
23689
|
+
*
|
|
23690
|
+
* @since Pending
|
|
23691
|
+
*/
|
|
23692
|
+
documentId: string;
|
|
23585
23693
|
}
|
|
23586
23694
|
|
|
23587
23695
|
/**
|
|
@@ -28880,6 +28988,13 @@ declare namespace chrome {
|
|
|
28880
28988
|
* Open a port to a specific [frame](https://developer.chrome.com/docs/extensions/reference/webNavigation/#frame_ids) identified by `frameId` instead of all frames in the tab.
|
|
28881
28989
|
*/
|
|
28882
28990
|
frameId?: number,
|
|
28991
|
+
|
|
28992
|
+
/**
|
|
28993
|
+
* Open a port to a specific [document](https://developer.chrome.com/docs/extensions/reference/webNavigation/#document_ids) identified by `documentId` instead of all frames in the tab.
|
|
28994
|
+
*
|
|
28995
|
+
* @since Pending
|
|
28996
|
+
*/
|
|
28997
|
+
documentId?: string,
|
|
28883
28998
|
},
|
|
28884
28999
|
): runtime.Port;
|
|
28885
29000
|
|
|
@@ -28936,6 +29051,13 @@ declare namespace chrome {
|
|
|
28936
29051
|
* Send a message to a specific [frame](https://developer.chrome.com/docs/extensions/reference/webNavigation/#frame_ids) identified by `frameId` instead of all frames in the tab.
|
|
28937
29052
|
*/
|
|
28938
29053
|
frameId?: number,
|
|
29054
|
+
|
|
29055
|
+
/**
|
|
29056
|
+
* Send a message to a specific [document](https://developer.chrome.com/docs/extensions/reference/webNavigation/#document_ids) identified by `documentId` instead of all frames in the tab.
|
|
29057
|
+
*
|
|
29058
|
+
* @since Pending
|
|
29059
|
+
*/
|
|
29060
|
+
documentId?: string,
|
|
28939
29061
|
},
|
|
28940
29062
|
): Promise<any>;
|
|
28941
29063
|
|
|
@@ -28956,6 +29078,13 @@ declare namespace chrome {
|
|
|
28956
29078
|
* Send a message to a specific [frame](https://developer.chrome.com/docs/extensions/reference/webNavigation/#frame_ids) identified by `frameId` instead of all frames in the tab.
|
|
28957
29079
|
*/
|
|
28958
29080
|
frameId?: number,
|
|
29081
|
+
|
|
29082
|
+
/**
|
|
29083
|
+
* Send a message to a specific [document](https://developer.chrome.com/docs/extensions/reference/webNavigation/#document_ids) identified by `documentId` instead of all frames in the tab.
|
|
29084
|
+
*
|
|
29085
|
+
* @since Pending
|
|
29086
|
+
*/
|
|
29087
|
+
documentId?: string,
|
|
28959
29088
|
},
|
|
28960
29089
|
|
|
28961
29090
|
/**
|
|
@@ -32508,6 +32637,27 @@ declare namespace chrome {
|
|
|
32508
32637
|
* The time when the browser was about to start the navigation, in milliseconds since the epoch.
|
|
32509
32638
|
*/
|
|
32510
32639
|
timeStamp: number,
|
|
32640
|
+
|
|
32641
|
+
/**
|
|
32642
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
32643
|
+
*
|
|
32644
|
+
* @since Pending
|
|
32645
|
+
*/
|
|
32646
|
+
parentDocumentId?: string,
|
|
32647
|
+
|
|
32648
|
+
/**
|
|
32649
|
+
* The lifecycle the document is in.
|
|
32650
|
+
*
|
|
32651
|
+
* @since Pending
|
|
32652
|
+
*/
|
|
32653
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
32654
|
+
|
|
32655
|
+
/**
|
|
32656
|
+
* The type of frame the navigation occurred in.
|
|
32657
|
+
*
|
|
32658
|
+
* @since Pending
|
|
32659
|
+
*/
|
|
32660
|
+
frameType: extensionTypes.FrameType,
|
|
32511
32661
|
},
|
|
32512
32662
|
) => void,
|
|
32513
32663
|
filters?: {
|
|
@@ -32564,6 +32714,34 @@ declare namespace chrome {
|
|
|
32564
32714
|
* The time when the navigation was committed, in milliseconds since the epoch.
|
|
32565
32715
|
*/
|
|
32566
32716
|
timeStamp: number,
|
|
32717
|
+
|
|
32718
|
+
/**
|
|
32719
|
+
* A UUID of the document loaded.
|
|
32720
|
+
*
|
|
32721
|
+
* @since Pending
|
|
32722
|
+
*/
|
|
32723
|
+
documentId: string,
|
|
32724
|
+
|
|
32725
|
+
/**
|
|
32726
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
32727
|
+
*
|
|
32728
|
+
* @since Pending
|
|
32729
|
+
*/
|
|
32730
|
+
parentDocumentId?: string,
|
|
32731
|
+
|
|
32732
|
+
/**
|
|
32733
|
+
* The lifecycle the document is in.
|
|
32734
|
+
*
|
|
32735
|
+
* @since Pending
|
|
32736
|
+
*/
|
|
32737
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
32738
|
+
|
|
32739
|
+
/**
|
|
32740
|
+
* The type of frame the navigation occurred in.
|
|
32741
|
+
*
|
|
32742
|
+
* @since Pending
|
|
32743
|
+
*/
|
|
32744
|
+
frameType: extensionTypes.FrameType,
|
|
32567
32745
|
},
|
|
32568
32746
|
) => void,
|
|
32569
32747
|
filters?: {
|
|
@@ -32610,6 +32788,34 @@ declare namespace chrome {
|
|
|
32610
32788
|
* The time when the page's DOM was fully constructed, in milliseconds since the epoch.
|
|
32611
32789
|
*/
|
|
32612
32790
|
timeStamp: number,
|
|
32791
|
+
|
|
32792
|
+
/**
|
|
32793
|
+
* A UUID of the document loaded.
|
|
32794
|
+
*
|
|
32795
|
+
* @since Pending
|
|
32796
|
+
*/
|
|
32797
|
+
documentId: string,
|
|
32798
|
+
|
|
32799
|
+
/**
|
|
32800
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
32801
|
+
*
|
|
32802
|
+
* @since Pending
|
|
32803
|
+
*/
|
|
32804
|
+
parentDocumentId?: string,
|
|
32805
|
+
|
|
32806
|
+
/**
|
|
32807
|
+
* The lifecycle the document is in.
|
|
32808
|
+
*
|
|
32809
|
+
* @since Pending
|
|
32810
|
+
*/
|
|
32811
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
32812
|
+
|
|
32813
|
+
/**
|
|
32814
|
+
* The type of frame the navigation occurred in.
|
|
32815
|
+
*
|
|
32816
|
+
* @since Pending
|
|
32817
|
+
*/
|
|
32818
|
+
frameType: extensionTypes.FrameType,
|
|
32613
32819
|
},
|
|
32614
32820
|
) => void,
|
|
32615
32821
|
filters?: {
|
|
@@ -32656,6 +32862,34 @@ declare namespace chrome {
|
|
|
32656
32862
|
* The time when the document finished loading, in milliseconds since the epoch.
|
|
32657
32863
|
*/
|
|
32658
32864
|
timeStamp: number,
|
|
32865
|
+
|
|
32866
|
+
/**
|
|
32867
|
+
* A UUID of the document loaded.
|
|
32868
|
+
*
|
|
32869
|
+
* @since Pending
|
|
32870
|
+
*/
|
|
32871
|
+
documentId: string,
|
|
32872
|
+
|
|
32873
|
+
/**
|
|
32874
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
32875
|
+
*
|
|
32876
|
+
* @since Pending
|
|
32877
|
+
*/
|
|
32878
|
+
parentDocumentId?: string,
|
|
32879
|
+
|
|
32880
|
+
/**
|
|
32881
|
+
* The lifecycle the document is in.
|
|
32882
|
+
*
|
|
32883
|
+
* @since Pending
|
|
32884
|
+
*/
|
|
32885
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
32886
|
+
|
|
32887
|
+
/**
|
|
32888
|
+
* The type of frame the navigation occurred in.
|
|
32889
|
+
*
|
|
32890
|
+
* @since Pending
|
|
32891
|
+
*/
|
|
32892
|
+
frameType: extensionTypes.FrameType,
|
|
32659
32893
|
},
|
|
32660
32894
|
) => void,
|
|
32661
32895
|
filters?: {
|
|
@@ -32710,6 +32944,34 @@ declare namespace chrome {
|
|
|
32710
32944
|
* The time when the error occurred, in milliseconds since the epoch.
|
|
32711
32945
|
*/
|
|
32712
32946
|
timeStamp: number,
|
|
32947
|
+
|
|
32948
|
+
/**
|
|
32949
|
+
* A UUID of the document loaded.
|
|
32950
|
+
*
|
|
32951
|
+
* @since Pending
|
|
32952
|
+
*/
|
|
32953
|
+
documentId: string,
|
|
32954
|
+
|
|
32955
|
+
/**
|
|
32956
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
32957
|
+
*
|
|
32958
|
+
* @since Pending
|
|
32959
|
+
*/
|
|
32960
|
+
parentDocumentId?: string,
|
|
32961
|
+
|
|
32962
|
+
/**
|
|
32963
|
+
* The lifecycle the document is in.
|
|
32964
|
+
*
|
|
32965
|
+
* @since Pending
|
|
32966
|
+
*/
|
|
32967
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
32968
|
+
|
|
32969
|
+
/**
|
|
32970
|
+
* The type of frame the navigation occurred in.
|
|
32971
|
+
*
|
|
32972
|
+
* @since Pending
|
|
32973
|
+
*/
|
|
32974
|
+
frameType: extensionTypes.FrameType,
|
|
32713
32975
|
},
|
|
32714
32976
|
) => void,
|
|
32715
32977
|
filters?: {
|
|
@@ -32813,6 +33075,34 @@ declare namespace chrome {
|
|
|
32813
33075
|
* The time when the navigation was committed, in milliseconds since the epoch.
|
|
32814
33076
|
*/
|
|
32815
33077
|
timeStamp: number,
|
|
33078
|
+
|
|
33079
|
+
/**
|
|
33080
|
+
* A UUID of the document loaded.
|
|
33081
|
+
*
|
|
33082
|
+
* @since Pending
|
|
33083
|
+
*/
|
|
33084
|
+
documentId: string,
|
|
33085
|
+
|
|
33086
|
+
/**
|
|
33087
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33088
|
+
*
|
|
33089
|
+
* @since Pending
|
|
33090
|
+
*/
|
|
33091
|
+
parentDocumentId?: string,
|
|
33092
|
+
|
|
33093
|
+
/**
|
|
33094
|
+
* The lifecycle the document is in.
|
|
33095
|
+
*
|
|
33096
|
+
* @since Pending
|
|
33097
|
+
*/
|
|
33098
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33099
|
+
|
|
33100
|
+
/**
|
|
33101
|
+
* The type of frame the navigation occurred in.
|
|
33102
|
+
*
|
|
33103
|
+
* @since Pending
|
|
33104
|
+
*/
|
|
33105
|
+
frameType: extensionTypes.FrameType,
|
|
32816
33106
|
},
|
|
32817
33107
|
) => void,
|
|
32818
33108
|
filters?: {
|
|
@@ -32892,6 +33182,34 @@ declare namespace chrome {
|
|
|
32892
33182
|
* The time when the navigation was committed, in milliseconds since the epoch.
|
|
32893
33183
|
*/
|
|
32894
33184
|
timeStamp: number,
|
|
33185
|
+
|
|
33186
|
+
/**
|
|
33187
|
+
* A UUID of the document loaded.
|
|
33188
|
+
*
|
|
33189
|
+
* @since Pending
|
|
33190
|
+
*/
|
|
33191
|
+
documentId: string,
|
|
33192
|
+
|
|
33193
|
+
/**
|
|
33194
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33195
|
+
*
|
|
33196
|
+
* @since Pending
|
|
33197
|
+
*/
|
|
33198
|
+
parentDocumentId?: string,
|
|
33199
|
+
|
|
33200
|
+
/**
|
|
33201
|
+
* The lifecycle the document is in.
|
|
33202
|
+
*
|
|
33203
|
+
* @since Pending
|
|
33204
|
+
*/
|
|
33205
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33206
|
+
|
|
33207
|
+
/**
|
|
33208
|
+
* The type of frame the navigation occurred in.
|
|
33209
|
+
*
|
|
33210
|
+
* @since Pending
|
|
33211
|
+
*/
|
|
33212
|
+
frameType: extensionTypes.FrameType,
|
|
32895
33213
|
},
|
|
32896
33214
|
) => void,
|
|
32897
33215
|
filters?: {
|
|
@@ -32930,6 +33248,13 @@ declare namespace chrome {
|
|
|
32930
33248
|
* The ID of the frame in the given tab.
|
|
32931
33249
|
*/
|
|
32932
33250
|
frameId?: number,
|
|
33251
|
+
|
|
33252
|
+
/**
|
|
33253
|
+
* The UUID of the document. If the frameId and/or tabId are provided they will be validated to match the document found by provided document ID.
|
|
33254
|
+
*
|
|
33255
|
+
* @since Pending
|
|
33256
|
+
*/
|
|
33257
|
+
documentId?: string,
|
|
32933
33258
|
},
|
|
32934
33259
|
): Promise<{
|
|
32935
33260
|
|
|
@@ -32947,6 +33272,26 @@ declare namespace chrome {
|
|
|
32947
33272
|
* The ID of the parent frame, or `-1` if this is the main frame.
|
|
32948
33273
|
*/
|
|
32949
33274
|
parentFrameId: number,
|
|
33275
|
+
|
|
33276
|
+
/**
|
|
33277
|
+
* A UUID of the document loaded.
|
|
33278
|
+
*/
|
|
33279
|
+
documentId: string,
|
|
33280
|
+
|
|
33281
|
+
/**
|
|
33282
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33283
|
+
*/
|
|
33284
|
+
parentDocumentId?: string,
|
|
33285
|
+
|
|
33286
|
+
/**
|
|
33287
|
+
* The lifecycle the document is in.
|
|
33288
|
+
*/
|
|
33289
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33290
|
+
|
|
33291
|
+
/**
|
|
33292
|
+
* The type of frame the navigation occurred in.
|
|
33293
|
+
*/
|
|
33294
|
+
frameType: extensionTypes.FrameType,
|
|
32950
33295
|
} | undefined>;
|
|
32951
33296
|
|
|
32952
33297
|
/**
|
|
@@ -32975,6 +33320,13 @@ declare namespace chrome {
|
|
|
32975
33320
|
* The ID of the frame in the given tab.
|
|
32976
33321
|
*/
|
|
32977
33322
|
frameId?: number,
|
|
33323
|
+
|
|
33324
|
+
/**
|
|
33325
|
+
* The UUID of the document. If the frameId and/or tabId are provided they will be validated to match the document found by provided document ID.
|
|
33326
|
+
*
|
|
33327
|
+
* @since Pending
|
|
33328
|
+
*/
|
|
33329
|
+
documentId?: string,
|
|
32978
33330
|
},
|
|
32979
33331
|
|
|
32980
33332
|
/**
|
|
@@ -32997,6 +33349,34 @@ declare namespace chrome {
|
|
|
32997
33349
|
* The ID of the parent frame, or `-1` if this is the main frame.
|
|
32998
33350
|
*/
|
|
32999
33351
|
parentFrameId: number,
|
|
33352
|
+
|
|
33353
|
+
/**
|
|
33354
|
+
* A UUID of the document loaded.
|
|
33355
|
+
*
|
|
33356
|
+
* @since Pending
|
|
33357
|
+
*/
|
|
33358
|
+
documentId: string,
|
|
33359
|
+
|
|
33360
|
+
/**
|
|
33361
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33362
|
+
*
|
|
33363
|
+
* @since Pending
|
|
33364
|
+
*/
|
|
33365
|
+
parentDocumentId?: string,
|
|
33366
|
+
|
|
33367
|
+
/**
|
|
33368
|
+
* The lifecycle the document is in.
|
|
33369
|
+
*
|
|
33370
|
+
* @since Pending
|
|
33371
|
+
*/
|
|
33372
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33373
|
+
|
|
33374
|
+
/**
|
|
33375
|
+
* The type of frame the navigation occurred in.
|
|
33376
|
+
*
|
|
33377
|
+
* @since Pending
|
|
33378
|
+
*/
|
|
33379
|
+
frameType: extensionTypes.FrameType,
|
|
33000
33380
|
},
|
|
33001
33381
|
) => void,
|
|
33002
33382
|
): void;
|
|
@@ -33042,6 +33422,26 @@ declare namespace chrome {
|
|
|
33042
33422
|
* The URL currently associated with this frame.
|
|
33043
33423
|
*/
|
|
33044
33424
|
url: string,
|
|
33425
|
+
|
|
33426
|
+
/**
|
|
33427
|
+
* A UUID of the document loaded.
|
|
33428
|
+
*/
|
|
33429
|
+
documentId: string,
|
|
33430
|
+
|
|
33431
|
+
/**
|
|
33432
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33433
|
+
*/
|
|
33434
|
+
parentDocumentId?: string,
|
|
33435
|
+
|
|
33436
|
+
/**
|
|
33437
|
+
* The lifecycle the document is in.
|
|
33438
|
+
*/
|
|
33439
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33440
|
+
|
|
33441
|
+
/**
|
|
33442
|
+
* The type of frame the navigation occurred in.
|
|
33443
|
+
*/
|
|
33444
|
+
frameType: extensionTypes.FrameType,
|
|
33045
33445
|
}[] | undefined>;
|
|
33046
33446
|
|
|
33047
33447
|
/**
|
|
@@ -33089,6 +33489,34 @@ declare namespace chrome {
|
|
|
33089
33489
|
* The URL currently associated with this frame.
|
|
33090
33490
|
*/
|
|
33091
33491
|
url: string,
|
|
33492
|
+
|
|
33493
|
+
/**
|
|
33494
|
+
* A UUID of the document loaded.
|
|
33495
|
+
*
|
|
33496
|
+
* @since Pending
|
|
33497
|
+
*/
|
|
33498
|
+
documentId: string,
|
|
33499
|
+
|
|
33500
|
+
/**
|
|
33501
|
+
* A UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33502
|
+
*
|
|
33503
|
+
* @since Pending
|
|
33504
|
+
*/
|
|
33505
|
+
parentDocumentId?: string,
|
|
33506
|
+
|
|
33507
|
+
/**
|
|
33508
|
+
* The lifecycle the document is in.
|
|
33509
|
+
*
|
|
33510
|
+
* @since Pending
|
|
33511
|
+
*/
|
|
33512
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33513
|
+
|
|
33514
|
+
/**
|
|
33515
|
+
* The type of frame the navigation occurred in.
|
|
33516
|
+
*
|
|
33517
|
+
* @since Pending
|
|
33518
|
+
*/
|
|
33519
|
+
frameType: extensionTypes.FrameType,
|
|
33092
33520
|
}[],
|
|
33093
33521
|
) => void,
|
|
33094
33522
|
): void;
|
|
@@ -33293,6 +33721,34 @@ declare namespace chrome {
|
|
|
33293
33721
|
*/
|
|
33294
33722
|
parentFrameId: number,
|
|
33295
33723
|
|
|
33724
|
+
/**
|
|
33725
|
+
* The UUID of the document making the request.
|
|
33726
|
+
*
|
|
33727
|
+
* @since Pending
|
|
33728
|
+
*/
|
|
33729
|
+
documentId?: string,
|
|
33730
|
+
|
|
33731
|
+
/**
|
|
33732
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33733
|
+
*
|
|
33734
|
+
* @since Pending
|
|
33735
|
+
*/
|
|
33736
|
+
parentDocumentId?: string,
|
|
33737
|
+
|
|
33738
|
+
/**
|
|
33739
|
+
* The lifecycle the document is in.
|
|
33740
|
+
*
|
|
33741
|
+
* @since Pending
|
|
33742
|
+
*/
|
|
33743
|
+
documentLifecycle?: extensionTypes.DocumentLifecycle,
|
|
33744
|
+
|
|
33745
|
+
/**
|
|
33746
|
+
* The type of frame the request occurred in.
|
|
33747
|
+
*
|
|
33748
|
+
* @since Pending
|
|
33749
|
+
*/
|
|
33750
|
+
frameType?: extensionTypes.FrameType,
|
|
33751
|
+
|
|
33296
33752
|
/**
|
|
33297
33753
|
* Contains the HTTP request body data. Only provided if extraInfoSpec contains 'requestBody'.
|
|
33298
33754
|
*/
|
|
@@ -33373,6 +33829,34 @@ declare namespace chrome {
|
|
|
33373
33829
|
*/
|
|
33374
33830
|
parentFrameId: number,
|
|
33375
33831
|
|
|
33832
|
+
/**
|
|
33833
|
+
* The UUID of the document making the request.
|
|
33834
|
+
*
|
|
33835
|
+
* @since Pending
|
|
33836
|
+
*/
|
|
33837
|
+
documentId: string,
|
|
33838
|
+
|
|
33839
|
+
/**
|
|
33840
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33841
|
+
*
|
|
33842
|
+
* @since Pending
|
|
33843
|
+
*/
|
|
33844
|
+
parentDocumentId?: string,
|
|
33845
|
+
|
|
33846
|
+
/**
|
|
33847
|
+
* The lifecycle the document is in.
|
|
33848
|
+
*
|
|
33849
|
+
* @since Pending
|
|
33850
|
+
*/
|
|
33851
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33852
|
+
|
|
33853
|
+
/**
|
|
33854
|
+
* The type of frame the request occurred in.
|
|
33855
|
+
*
|
|
33856
|
+
* @since Pending
|
|
33857
|
+
*/
|
|
33858
|
+
frameType: extensionTypes.FrameType,
|
|
33859
|
+
|
|
33376
33860
|
/**
|
|
33377
33861
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33378
33862
|
*/
|
|
@@ -33434,6 +33918,34 @@ declare namespace chrome {
|
|
|
33434
33918
|
*/
|
|
33435
33919
|
parentFrameId: number,
|
|
33436
33920
|
|
|
33921
|
+
/**
|
|
33922
|
+
* The UUID of the document making the request.
|
|
33923
|
+
*
|
|
33924
|
+
* @since Pending
|
|
33925
|
+
*/
|
|
33926
|
+
documentId: string,
|
|
33927
|
+
|
|
33928
|
+
/**
|
|
33929
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
33930
|
+
*
|
|
33931
|
+
* @since Pending
|
|
33932
|
+
*/
|
|
33933
|
+
parentDocumentId?: string,
|
|
33934
|
+
|
|
33935
|
+
/**
|
|
33936
|
+
* The lifecycle the document is in.
|
|
33937
|
+
*
|
|
33938
|
+
* @since Pending
|
|
33939
|
+
*/
|
|
33940
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
33941
|
+
|
|
33942
|
+
/**
|
|
33943
|
+
* The type of frame the request occurred in.
|
|
33944
|
+
*
|
|
33945
|
+
* @since Pending
|
|
33946
|
+
*/
|
|
33947
|
+
frameType: extensionTypes.FrameType,
|
|
33948
|
+
|
|
33437
33949
|
/**
|
|
33438
33950
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33439
33951
|
*/
|
|
@@ -33498,6 +34010,34 @@ declare namespace chrome {
|
|
|
33498
34010
|
*/
|
|
33499
34011
|
parentFrameId: number,
|
|
33500
34012
|
|
|
34013
|
+
/**
|
|
34014
|
+
* The UUID of the document making the request.
|
|
34015
|
+
*
|
|
34016
|
+
* @since Pending
|
|
34017
|
+
*/
|
|
34018
|
+
documentId: string,
|
|
34019
|
+
|
|
34020
|
+
/**
|
|
34021
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
34022
|
+
*
|
|
34023
|
+
* @since Pending
|
|
34024
|
+
*/
|
|
34025
|
+
parentDocumentId?: string,
|
|
34026
|
+
|
|
34027
|
+
/**
|
|
34028
|
+
* The lifecycle the document is in.
|
|
34029
|
+
*
|
|
34030
|
+
* @since Pending
|
|
34031
|
+
*/
|
|
34032
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
34033
|
+
|
|
34034
|
+
/**
|
|
34035
|
+
* The type of frame the request occurred in.
|
|
34036
|
+
*
|
|
34037
|
+
* @since Pending
|
|
34038
|
+
*/
|
|
34039
|
+
frameType: extensionTypes.FrameType,
|
|
34040
|
+
|
|
33501
34041
|
/**
|
|
33502
34042
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33503
34043
|
*/
|
|
@@ -33575,6 +34115,34 @@ declare namespace chrome {
|
|
|
33575
34115
|
*/
|
|
33576
34116
|
parentFrameId: number,
|
|
33577
34117
|
|
|
34118
|
+
/**
|
|
34119
|
+
* The UUID of the document making the request.
|
|
34120
|
+
*
|
|
34121
|
+
* @since Pending
|
|
34122
|
+
*/
|
|
34123
|
+
documentId: string,
|
|
34124
|
+
|
|
34125
|
+
/**
|
|
34126
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
34127
|
+
*
|
|
34128
|
+
* @since Pending
|
|
34129
|
+
*/
|
|
34130
|
+
parentDocumentId?: string,
|
|
34131
|
+
|
|
34132
|
+
/**
|
|
34133
|
+
* The lifecycle the document is in.
|
|
34134
|
+
*
|
|
34135
|
+
* @since Pending
|
|
34136
|
+
*/
|
|
34137
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
34138
|
+
|
|
34139
|
+
/**
|
|
34140
|
+
* The type of frame the request occurred in.
|
|
34141
|
+
*
|
|
34142
|
+
* @since Pending
|
|
34143
|
+
*/
|
|
34144
|
+
frameType: extensionTypes.FrameType,
|
|
34145
|
+
|
|
33578
34146
|
/**
|
|
33579
34147
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33580
34148
|
*/
|
|
@@ -33679,6 +34247,34 @@ declare namespace chrome {
|
|
|
33679
34247
|
*/
|
|
33680
34248
|
parentFrameId: number,
|
|
33681
34249
|
|
|
34250
|
+
/**
|
|
34251
|
+
* The UUID of the document making the request.
|
|
34252
|
+
*
|
|
34253
|
+
* @since Pending
|
|
34254
|
+
*/
|
|
34255
|
+
documentId: string,
|
|
34256
|
+
|
|
34257
|
+
/**
|
|
34258
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
34259
|
+
*
|
|
34260
|
+
* @since Pending
|
|
34261
|
+
*/
|
|
34262
|
+
parentDocumentId?: string,
|
|
34263
|
+
|
|
34264
|
+
/**
|
|
34265
|
+
* The lifecycle the document is in.
|
|
34266
|
+
*
|
|
34267
|
+
* @since Pending
|
|
34268
|
+
*/
|
|
34269
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
34270
|
+
|
|
34271
|
+
/**
|
|
34272
|
+
* The type of frame the request occurred in.
|
|
34273
|
+
*
|
|
34274
|
+
* @since Pending
|
|
34275
|
+
*/
|
|
34276
|
+
frameType: extensionTypes.FrameType,
|
|
34277
|
+
|
|
33682
34278
|
/**
|
|
33683
34279
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33684
34280
|
*/
|
|
@@ -33760,6 +34356,34 @@ declare namespace chrome {
|
|
|
33760
34356
|
*/
|
|
33761
34357
|
parentFrameId: number,
|
|
33762
34358
|
|
|
34359
|
+
/**
|
|
34360
|
+
* The UUID of the document making the request.
|
|
34361
|
+
*
|
|
34362
|
+
* @since Pending
|
|
34363
|
+
*/
|
|
34364
|
+
documentId: string,
|
|
34365
|
+
|
|
34366
|
+
/**
|
|
34367
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
34368
|
+
*
|
|
34369
|
+
* @since Pending
|
|
34370
|
+
*/
|
|
34371
|
+
parentDocumentId?: string,
|
|
34372
|
+
|
|
34373
|
+
/**
|
|
34374
|
+
* The lifecycle the document is in.
|
|
34375
|
+
*
|
|
34376
|
+
* @since Pending
|
|
34377
|
+
*/
|
|
34378
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
34379
|
+
|
|
34380
|
+
/**
|
|
34381
|
+
* The type of frame the request occurred in.
|
|
34382
|
+
*
|
|
34383
|
+
* @since Pending
|
|
34384
|
+
*/
|
|
34385
|
+
frameType: extensionTypes.FrameType,
|
|
34386
|
+
|
|
33763
34387
|
/**
|
|
33764
34388
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33765
34389
|
*/
|
|
@@ -33846,6 +34470,34 @@ declare namespace chrome {
|
|
|
33846
34470
|
*/
|
|
33847
34471
|
parentFrameId: number,
|
|
33848
34472
|
|
|
34473
|
+
/**
|
|
34474
|
+
* The UUID of the document making the request.
|
|
34475
|
+
*
|
|
34476
|
+
* @since Pending
|
|
34477
|
+
*/
|
|
34478
|
+
documentId: string,
|
|
34479
|
+
|
|
34480
|
+
/**
|
|
34481
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
34482
|
+
*
|
|
34483
|
+
* @since Pending
|
|
34484
|
+
*/
|
|
34485
|
+
parentDocumentId?: string,
|
|
34486
|
+
|
|
34487
|
+
/**
|
|
34488
|
+
* The lifecycle the document is in.
|
|
34489
|
+
*
|
|
34490
|
+
* @since Pending
|
|
34491
|
+
*/
|
|
34492
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
34493
|
+
|
|
34494
|
+
/**
|
|
34495
|
+
* The type of frame the request occurred in.
|
|
34496
|
+
*
|
|
34497
|
+
* @since Pending
|
|
34498
|
+
*/
|
|
34499
|
+
frameType: extensionTypes.FrameType,
|
|
34500
|
+
|
|
33849
34501
|
/**
|
|
33850
34502
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33851
34503
|
*/
|
|
@@ -33927,6 +34579,34 @@ declare namespace chrome {
|
|
|
33927
34579
|
*/
|
|
33928
34580
|
parentFrameId: number,
|
|
33929
34581
|
|
|
34582
|
+
/**
|
|
34583
|
+
* The UUID of the document making the request. This value is not present if the request is a navigation of a frame.
|
|
34584
|
+
*
|
|
34585
|
+
* @since Pending
|
|
34586
|
+
*/
|
|
34587
|
+
documentId: string,
|
|
34588
|
+
|
|
34589
|
+
/**
|
|
34590
|
+
* The UUID of the parent document owning this frame. This is not set if there is no parent.
|
|
34591
|
+
*
|
|
34592
|
+
* @since Pending
|
|
34593
|
+
*/
|
|
34594
|
+
parentDocumentId?: string,
|
|
34595
|
+
|
|
34596
|
+
/**
|
|
34597
|
+
* The lifecycle the document is in.
|
|
34598
|
+
*
|
|
34599
|
+
* @since Pending
|
|
34600
|
+
*/
|
|
34601
|
+
documentLifecycle: extensionTypes.DocumentLifecycle,
|
|
34602
|
+
|
|
34603
|
+
/**
|
|
34604
|
+
* The type of frame the request occurred in.
|
|
34605
|
+
*
|
|
34606
|
+
* @since Pending
|
|
34607
|
+
*/
|
|
34608
|
+
frameType: extensionTypes.FrameType,
|
|
34609
|
+
|
|
33930
34610
|
/**
|
|
33931
34611
|
* The ID of the tab in which the request takes place. Set to -1 if the request isn't related to a tab.
|
|
33932
34612
|
*/
|