Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
feat(webkit): roll WebKit to 1246 (#2400)
Pavel Feldman4ac30f354af2
diff --git a/browsers.json b/browsers.jsonindex a63c94a689..94c6824a9d 100644--- a/browsers.json+++ b/browsers.json@@ -10,7 +10,7 @@},{"name": "webkit",- "revision": "1242"+ "revision": "1246"}]}diff --git a/utils/protocol-types-generator/index.js b/utils/protocol-types-generator/index.jsindex dd90a289a6..917ea77420 100644--- a/utils/protocol-types-generator/index.js+++ b/utils/protocol-types-generator/index.js@@ -40,6 +40,8 @@ async function generateWebKitProtocol(folderPath) {console.log(`Wrote protocol.ts for WebKit to ${path.relative(process.cwd(), outputPath)}`);}+const conditionFilter = command => command.condition !== 'defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY';+function jsonToTS(json) {return `// This is generated from /utils/protocol-types-generator/index.jstype binary = string;@@ -69,7 +71,7 @@ export module Protocol {${json.domains.map(domain => `${domain.description ? `${parameter.name}${parameter.optional ? '?' : ''}: ${typeOfProperty(parameter)};`).join(``)}}` : `export type ${event.name}Payload = void;`}`).join('')}- ${(domain.commands || []).map(command => `${command.description ? `+ ${(domain.commands || []).filter(conditionFilter).map(command => `${command.description ? `/*** ${command.description}*/` : ''}@@ -90,10 +92,10 @@ export module Protocol {${json.domains.map(domain => `${domain.description ? `export interface Events {${json.domains.map(domain => (domain.events || []).map(event => `"${domain.domain}.${event.name}": ${domain.domain}.${event.name}Payload;`).join('')).join('')}}- export interface CommandParameters {${json.domains.map(domain => (domain.commands || []).map(command => `+ export interface CommandParameters {${json.domains.map(domain => (domain.commands || []).filter(conditionFilter).map(command => `"${domain.domain}.${command.name}": ${domain.domain}.${command.name}Parameters;`).join('')).join('')}}- export interface CommandReturnValues {${json.domains.map(domain => (domain.commands || []).map(command => `+ export interface CommandReturnValues {${json.domains.map(domain => (domain.commands || []).filter(conditionFilter).map(command => `"${domain.domain}.${command.name}": ${domain.domain}.${command.name}ReturnValue;`).join('')).join('')}}}