Skip to content

Commit 53d49a7

Browse files
fix: re-generate types based on specifciation updates (GoogleChromeLabs#221)
1 parent e467cc9 commit 53d49a7

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

out/gen/main.d.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ export type EmulationCommand =
954954
| Emulation.SetGeolocationOverride
955955
| Emulation.SetLocaleOverride
956956
| Emulation.SetScreenOrientationOverride
957+
| Emulation.SetScriptingEnabled
957958
| Emulation.SetTimezoneOverride;
958959
export declare namespace Emulation {
959960
type SetForcedColorsModeThemeOverride = {
@@ -1095,6 +1096,22 @@ export declare namespace Emulation {
10951096
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
10961097
};
10971098
}
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+
}
10981115
export declare namespace Emulation {
10991116
type SetTimezoneOverride = {
11001117
method: 'emulation.setTimezoneOverride';

src/gen/main.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,7 @@ export type EmulationCommand =
956956
| Emulation.SetGeolocationOverride
957957
| Emulation.SetLocaleOverride
958958
| Emulation.SetScreenOrientationOverride
959+
| Emulation.SetScriptingEnabled
959960
| Emulation.SetTimezoneOverride;
960961
export namespace Emulation {
961962
export type SetForcedColorsModeThemeOverride = {
@@ -1097,6 +1098,22 @@ export namespace Emulation {
10971098
userContexts?: [Browser.UserContext, ...Browser.UserContext[]];
10981099
};
10991100
}
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+
}
11001117
export namespace Emulation {
11011118
export type SetTimezoneOverride = {
11021119
method: 'emulation.setTimezoneOverride';

0 commit comments

Comments
 (0)