@@ -550,6 +550,7 @@ export namespace BrowsingContext {
550550 navigation : BrowsingContext . Navigation | null ;
551551 timestamp : JsUint ;
552552 url : string ;
553+ userContext ?: Browser . UserContext ;
553554 } ;
554555}
555556export namespace BrowsingContext {
@@ -679,6 +680,7 @@ export namespace BrowsingContext {
679680export namespace BrowsingContext {
680681 export type CreateResult = {
681682 context : BrowsingContext . BrowsingContext ;
683+ userContext ?: Browser . UserContext ;
682684 } ;
683685}
684686export namespace BrowsingContext {
@@ -929,6 +931,7 @@ export namespace BrowsingContext {
929931 context : BrowsingContext . BrowsingContext ;
930932 timestamp : JsUint ;
931933 url : string ;
934+ userContext ?: Browser . UserContext ;
932935 } ;
933936}
934937export namespace BrowsingContext {
@@ -1005,6 +1008,7 @@ export namespace BrowsingContext {
10051008 context : BrowsingContext . BrowsingContext ;
10061009 accepted : boolean ;
10071010 type : BrowsingContext . UserPromptType ;
1011+ userContext ?: Browser . UserContext ;
10081012 userText ?: string ;
10091013 } ;
10101014}
@@ -1020,6 +1024,7 @@ export namespace BrowsingContext {
10201024 handler : Session . UserPromptHandlerType ;
10211025 message : string ;
10221026 type : BrowsingContext . UserPromptType ;
1027+ userContext ?: Browser . UserContext ;
10231028 defaultValue ?: string ;
10241029 } ;
10251030}
@@ -1031,6 +1036,7 @@ export type EmulationCommand =
10311036 | Emulation . SetScreenOrientationOverride
10321037 | Emulation . SetScreenSettingsOverride
10331038 | Emulation . SetScriptingEnabled
1039+ | Emulation . SetScrollbarTypeOverride
10341040 | Emulation . SetTimezoneOverride
10351041 | Emulation . SetTouchOverride
10361042 | Emulation . SetUserAgentOverride ;
@@ -1040,6 +1046,7 @@ export type EmulationResult =
10401046 | Emulation . SetLocaleOverrideResult
10411047 | Emulation . SetScreenOrientationOverrideResult
10421048 | Emulation . SetScriptingEnabledResult
1049+ | Emulation . SetScrollbarTypeOverrideResult
10431050 | Emulation . SetTimezoneOverrideResult
10441051 | Emulation . SetTouchOverrideResult
10451052 | Emulation . SetUserAgentOverrideResult ;
@@ -1285,6 +1292,25 @@ export namespace Emulation {
12851292export namespace Emulation {
12861293 export type SetScriptingEnabledResult = EmptyResult ;
12871294}
1295+ export namespace Emulation {
1296+ export type SetScrollbarTypeOverride = {
1297+ method : 'emulation.setScrollbarTypeOverride' ;
1298+ params : Emulation . SetScrollbarTypeOverrideParameters ;
1299+ } ;
1300+ }
1301+ export namespace Emulation {
1302+ export type SetScrollbarTypeOverrideParameters = {
1303+ scrollbarType : 'classic' | 'overlay' | null ;
1304+ contexts ?: [
1305+ BrowsingContext . BrowsingContext ,
1306+ ...BrowsingContext . BrowsingContext [ ] ,
1307+ ] ;
1308+ userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1309+ } ;
1310+ }
1311+ export namespace Emulation {
1312+ export type SetScrollbarTypeOverrideResult = EmptyResult ;
1313+ }
12881314export namespace Emulation {
12891315 export type SetTimezoneOverride = {
12901316 method : 'emulation.setTimezoneOverride' ;
@@ -1381,6 +1407,7 @@ export namespace Network {
13811407 redirectCount : JsUint ;
13821408 request : Network . RequestData ;
13831409 timestamp : JsUint ;
1410+ userContext ?: Browser . UserContext | null ;
13841411 intercepts ?: [ Network . Intercept , ...Network . Intercept [ ] ] ;
13851412 } ;
13861413}
@@ -2059,6 +2086,7 @@ export namespace Script {
20592086 export type WindowRealmInfo = Script . BaseRealmInfo & {
20602087 type : 'window' ;
20612088 context : BrowsingContext . BrowsingContext ;
2089+ userContext ?: Browser . UserContext ;
20622090 sandbox ?: string ;
20632091 } ;
20642092}
@@ -2367,6 +2395,7 @@ export namespace Script {
23672395 export type Source = {
23682396 realm : Script . Realm ;
23692397 context ?: BrowsingContext . BrowsingContext ;
2398+ userContext ?: Browser . UserContext ;
23702399 } ;
23712400}
23722401export namespace Script {
@@ -2914,6 +2943,7 @@ export namespace Input {
29142943export namespace Input {
29152944 export type FileDialogInfo = {
29162945 context : BrowsingContext . BrowsingContext ;
2946+ userContext ?: Browser . UserContext ;
29172947 element ?: Script . SharedReference ;
29182948 multiple : boolean ;
29192949 } ;
0 commit comments