File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -954,6 +954,7 @@ export type EmulationCommand =
954
954
| Emulation . SetGeolocationOverride
955
955
| Emulation . SetLocaleOverride
956
956
| Emulation . SetScreenOrientationOverride
957
+ | Emulation . SetScriptingEnabled
957
958
| Emulation . SetTimezoneOverride ;
958
959
export declare namespace Emulation {
959
960
type SetForcedColorsModeThemeOverride = {
@@ -1095,6 +1096,22 @@ export declare namespace Emulation {
1095
1096
userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1096
1097
} ;
1097
1098
}
1099
+ export declare namespace Emulation {
1100
+ type SetScriptingEnabled = {
1101
+ method : 'emulation.setScriptingEnabled' ;
1102
+ params : Emulation . SetScriptingEnabledParameters ;
1103
+ } ;
1104
+ }
1105
+ export declare namespace Emulation {
1106
+ type SetScriptingEnabledParameters = {
1107
+ enabled : false | null ;
1108
+ contexts ?: [
1109
+ BrowsingContext . BrowsingContext ,
1110
+ ...BrowsingContext . BrowsingContext [ ] ,
1111
+ ] ;
1112
+ userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1113
+ } ;
1114
+ }
1098
1115
export declare namespace Emulation {
1099
1116
type SetTimezoneOverride = {
1100
1117
method : 'emulation.setTimezoneOverride' ;
Original file line number Diff line number Diff line change @@ -956,6 +956,7 @@ export type EmulationCommand =
956
956
| Emulation . SetGeolocationOverride
957
957
| Emulation . SetLocaleOverride
958
958
| Emulation . SetScreenOrientationOverride
959
+ | Emulation . SetScriptingEnabled
959
960
| Emulation . SetTimezoneOverride ;
960
961
export namespace Emulation {
961
962
export type SetForcedColorsModeThemeOverride = {
@@ -1097,6 +1098,22 @@ export namespace Emulation {
1097
1098
userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1098
1099
} ;
1099
1100
}
1101
+ export namespace Emulation {
1102
+ export type SetScriptingEnabled = {
1103
+ method : 'emulation.setScriptingEnabled' ;
1104
+ params : Emulation . SetScriptingEnabledParameters ;
1105
+ } ;
1106
+ }
1107
+ export namespace Emulation {
1108
+ export type SetScriptingEnabledParameters = {
1109
+ enabled : false | null ;
1110
+ contexts ?: [
1111
+ BrowsingContext . BrowsingContext ,
1112
+ ...BrowsingContext . BrowsingContext [ ] ,
1113
+ ] ;
1114
+ userContexts ?: [ Browser . UserContext , ...Browser . UserContext [ ] ] ;
1115
+ } ;
1116
+ }
1100
1117
export namespace Emulation {
1101
1118
export type SetTimezoneOverride = {
1102
1119
method : 'emulation.setTimezoneOverride' ;
You can’t perform that action at this time.
0 commit comments