diff --git a/browsers.json b/browsers.json index 93da165207..1b08d58711 100644 --- a/browsers.json +++ b/browsers.json @@ -23,7 +23,7 @@ }, { "name": "webkit", - "revision": "1542", + "revision": "1548", "installByDefault": true, "revisionOverrides": { "mac10.14": "1446" diff --git a/src/server/webkit/protocol.d.ts b/src/server/webkit/protocol.d.ts index 2a8e0bf3cf..fae58f12b0 100644 --- a/src/server/webkit/protocol.d.ts +++ b/src/server/webkit/protocol.d.ts @@ -6515,6 +6515,17 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the } export type overrideUserAgentReturnValue = { } + /** + * Override's the navigator.platform of the inspected page + */ + export type overridePlatformParameters = { + /** + * Value to override the platform with. If this value is not provided, the override is removed. Overrides are removed when Web Inspector closes/disconnects. + */ + value?: string; + } + export type overridePlatformReturnValue = { + } /** * Allows the frontend to override the inspected page's settings. */ @@ -9026,6 +9037,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Page.goForward": Page.goForwardParameters; "Page.navigate": Page.navigateParameters; "Page.overrideUserAgent": Page.overrideUserAgentParameters; + "Page.overridePlatform": Page.overridePlatformParameters; "Page.overrideSetting": Page.overrideSettingParameters; "Page.getCookies": Page.getCookiesParameters; "Page.setCookie": Page.setCookieParameters; @@ -9326,6 +9338,7 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the "Page.goForward": Page.goForwardReturnValue; "Page.navigate": Page.navigateReturnValue; "Page.overrideUserAgent": Page.overrideUserAgentReturnValue; + "Page.overridePlatform": Page.overridePlatformReturnValue; "Page.overrideSetting": Page.overrideSettingReturnValue; "Page.getCookies": Page.getCookiesReturnValue; "Page.setCookie": Page.setCookieReturnValue;