Skip to content

Commit

Permalink
roll browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed May 20, 2021
1 parent c36cdfd commit 07916ce
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
6 changes: 3 additions & 3 deletions browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
},
{
"name": "firefox",
"revision": "1261",
"revision": "1265",
"installByDefault": true
},
{
"name": "firefox-stable",
"revision": "1251",
"revision": "1255",
"installByDefault": false
},
{
"name": "webkit",
"revision": "1481",
"revision": "1482",
"installByDefault": true,
"revisionOverrides": {
"mac10.14": "1443"
Expand Down
19 changes: 19 additions & 0 deletions src/server/firefox/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,11 @@ export module Protocol {
}|null;
};
export type setDefaultViewportReturnValue = void;
export type setScrollbarsHiddenParameters = {
browserContextId?: string;
hidden: boolean;
};
export type setScrollbarsHiddenReturnValue = void;
export type addScriptToEvaluateOnNewDocumentParameters = {
browserContextId?: string;
script: string;
Expand Down Expand Up @@ -266,6 +271,11 @@ export module Protocol {
colorScheme: ("dark"|"light"|"no-preference")|null;
};
export type setColorSchemeReturnValue = void;
export type setReducedMotionParameters = {
browserContextId?: string;
reducedMotion: ("reduce"|"no-preference")|null;
};
export type setReducedMotionReturnValue = void;
export type setVideoRecordingOptionsParameters = {
browserContextId?: string;
dir: string;
Expand Down Expand Up @@ -475,6 +485,7 @@ export module Protocol {
export type setEmulatedMediaParameters = {
type?: ("screen"|"print"|"");
colorScheme?: ("dark"|"light"|"no-preference");
reducedMotion?: ("reduce"|"no-preference");
};
export type setEmulatedMediaReturnValue = void;
export type setCacheDisabledParameters = {
Expand Down Expand Up @@ -693,6 +704,10 @@ export module Protocol {
unserializableValue?: ("Infinity"|"-Infinity"|"-0"|"NaN");
value: any;
};
export type AuxData = {
frameId?: string;
name?: string;
};
export type executionContextCreatedPayload = {
executionContextId: string;
auxData: {
Expand Down Expand Up @@ -1040,6 +1055,7 @@ export module Protocol {
"Browser.setDownloadOptions": Browser.setDownloadOptionsParameters;
"Browser.setTouchOverride": Browser.setTouchOverrideParameters;
"Browser.setDefaultViewport": Browser.setDefaultViewportParameters;
"Browser.setScrollbarsHidden": Browser.setScrollbarsHiddenParameters;
"Browser.addScriptToEvaluateOnNewDocument": Browser.addScriptToEvaluateOnNewDocumentParameters;
"Browser.addBinding": Browser.addBindingParameters;
"Browser.grantPermissions": Browser.grantPermissionsParameters;
Expand All @@ -1049,6 +1065,7 @@ export module Protocol {
"Browser.getCookies": Browser.getCookiesParameters;
"Browser.setOnlineOverride": Browser.setOnlineOverrideParameters;
"Browser.setColorScheme": Browser.setColorSchemeParameters;
"Browser.setReducedMotion": Browser.setReducedMotionParameters;
"Browser.setVideoRecordingOptions": Browser.setVideoRecordingOptionsParameters;
"Page.close": Page.closeParameters;
"Page.setFileInputFiles": Page.setFileInputFilesParameters;
Expand Down Expand Up @@ -1113,6 +1130,7 @@ export module Protocol {
"Browser.setDownloadOptions": Browser.setDownloadOptionsReturnValue;
"Browser.setTouchOverride": Browser.setTouchOverrideReturnValue;
"Browser.setDefaultViewport": Browser.setDefaultViewportReturnValue;
"Browser.setScrollbarsHidden": Browser.setScrollbarsHiddenReturnValue;
"Browser.addScriptToEvaluateOnNewDocument": Browser.addScriptToEvaluateOnNewDocumentReturnValue;
"Browser.addBinding": Browser.addBindingReturnValue;
"Browser.grantPermissions": Browser.grantPermissionsReturnValue;
Expand All @@ -1122,6 +1140,7 @@ export module Protocol {
"Browser.getCookies": Browser.getCookiesReturnValue;
"Browser.setOnlineOverride": Browser.setOnlineOverrideReturnValue;
"Browser.setColorScheme": Browser.setColorSchemeReturnValue;
"Browser.setReducedMotion": Browser.setReducedMotionReturnValue;
"Browser.setVideoRecordingOptions": Browser.setVideoRecordingOptionsReturnValue;
"Page.close": Page.closeReturnValue;
"Page.setFileInputFiles": Page.setFileInputFilesReturnValue;
Expand Down
14 changes: 14 additions & 0 deletions src/server/webkit/protocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5983,6 +5983,10 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
* Page appearance name.
*/
export type Appearance = "Light"|"Dark";
/**
* Page reduced-motion media query override.
*/
export type ReducedMotion = "Reduce"|"NoPreference";
/**
* Information about the Frame on the page.
*/
Expand Down Expand Up @@ -6638,6 +6642,14 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
}
export type setForcedAppearanceReturnValue = {
}
/**
* Forces the reduced-motion media query for the page.
*/
export type setForcedReducedMotionParameters = {
reducedMotion?: ReducedMotion;
}
export type setForcedReducedMotionReturnValue = {
}
/**
* Enables time zone emulation.
*/
Expand Down Expand Up @@ -8890,6 +8902,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Page.setShowPaintRects": Page.setShowPaintRectsParameters;
"Page.setEmulatedMedia": Page.setEmulatedMediaParameters;
"Page.setForcedAppearance": Page.setForcedAppearanceParameters;
"Page.setForcedReducedMotion": Page.setForcedReducedMotionParameters;
"Page.setTimeZone": Page.setTimeZoneParameters;
"Page.setTouchEmulationEnabled": Page.setTouchEmulationEnabledParameters;
"Page.snapshotNode": Page.snapshotNodeParameters;
Expand Down Expand Up @@ -9182,6 +9195,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Page.setShowPaintRects": Page.setShowPaintRectsReturnValue;
"Page.setEmulatedMedia": Page.setEmulatedMediaReturnValue;
"Page.setForcedAppearance": Page.setForcedAppearanceReturnValue;
"Page.setForcedReducedMotion": Page.setForcedReducedMotionReturnValue;
"Page.setTimeZone": Page.setTimeZoneReturnValue;
"Page.setTouchEmulationEnabled": Page.setTouchEmulationEnabledReturnValue;
"Page.snapshotNode": Page.snapshotNodeReturnValue;
Expand Down

0 comments on commit 07916ce

Please sign in to comment.