mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat: roll to Chrome 123.0.6312.58 (r1262506) (#12110)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
parent
e6e861ce1d
commit
6f5b3bc9b8
18
package-lock.json
generated
18
package-lock.json
generated
@ -2918,11 +2918,6 @@
|
|||||||
"node": ">= 14"
|
"node": ">= 14"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/devtools-protocol": {
|
|
||||||
"version": "0.0.1249869",
|
|
||||||
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1249869.tgz",
|
|
||||||
"integrity": "sha512-Ctp4hInA0BEavlUoRy9mhGq0i+JSo/AwVyX2EFgZmV1kYB+Zq+EMBAn52QWu6FbRr10hRb6pBl420upbp4++vg=="
|
|
||||||
},
|
|
||||||
"node_modules/dezalgo": {
|
"node_modules/dezalgo": {
|
||||||
"version": "1.0.4",
|
"version": "1.0.4",
|
||||||
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz",
|
"resolved": "https://registry.npmjs.org/dezalgo/-/dezalgo-1.0.4.tgz",
|
||||||
@ -12168,6 +12163,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@puppeteer/browsers": "2.2.0",
|
"@puppeteer/browsers": "2.2.0",
|
||||||
"cosmiconfig": "9.0.0",
|
"cosmiconfig": "9.0.0",
|
||||||
|
"devtools-protocol": "0.0.1262051",
|
||||||
"puppeteer-core": "22.5.0"
|
"puppeteer-core": "22.5.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
@ -12187,7 +12183,7 @@
|
|||||||
"@puppeteer/browsers": "2.2.0",
|
"@puppeteer/browsers": "2.2.0",
|
||||||
"chromium-bidi": "0.5.13",
|
"chromium-bidi": "0.5.13",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1249869",
|
"devtools-protocol": "0.0.1262051",
|
||||||
"ws": "8.16.0"
|
"ws": "8.16.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@ -12220,6 +12216,11 @@
|
|||||||
"devtools-protocol": "*"
|
"devtools-protocol": "*"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"packages/puppeteer-core/node_modules/devtools-protocol": {
|
||||||
|
"version": "0.0.1262051",
|
||||||
|
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1262051.tgz",
|
||||||
|
"integrity": "sha512-YJe4CT5SA8on3Spa+UDtNhEqtuV6Epwz3OZ4HQVLhlRccpZ9/PAYk0/cy/oKxFKRrZPBUPyxympQci4yWNWZ9g=="
|
||||||
|
},
|
||||||
"packages/puppeteer-core/node_modules/rxjs": {
|
"packages/puppeteer-core/node_modules/rxjs": {
|
||||||
"version": "7.8.1",
|
"version": "7.8.1",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
@ -12262,6 +12263,11 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"packages/puppeteer/node_modules/devtools-protocol": {
|
||||||
|
"version": "0.0.1262051",
|
||||||
|
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1262051.tgz",
|
||||||
|
"integrity": "sha512-YJe4CT5SA8on3Spa+UDtNhEqtuV6Epwz3OZ4HQVLhlRccpZ9/PAYk0/cy/oKxFKRrZPBUPyxympQci4yWNWZ9g=="
|
||||||
|
},
|
||||||
"packages/puppeteer/node_modules/parse-json": {
|
"packages/puppeteer/node_modules/parse-json": {
|
||||||
"version": "5.2.0",
|
"version": "5.2.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -122,7 +122,7 @@
|
|||||||
"@puppeteer/browsers": "2.2.0",
|
"@puppeteer/browsers": "2.2.0",
|
||||||
"chromium-bidi": "0.5.13",
|
"chromium-bidi": "0.5.13",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1249869",
|
"devtools-protocol": "0.0.1262051",
|
||||||
"ws": "8.16.0"
|
"ws": "8.16.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
export const PUPPETEER_REVISIONS = Object.freeze({
|
export const PUPPETEER_REVISIONS = Object.freeze({
|
||||||
chrome: '122.0.6261.128',
|
chrome: '123.0.6312.58',
|
||||||
'chrome-headless-shell': '122.0.6261.128',
|
'chrome-headless-shell': '123.0.6312.58',
|
||||||
firefox: 'latest',
|
firefox: 'latest',
|
||||||
});
|
});
|
||||||
|
@ -125,7 +125,8 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cosmiconfig": "9.0.0",
|
"cosmiconfig": "9.0.0",
|
||||||
"puppeteer-core": "22.5.0",
|
"puppeteer-core": "22.5.0",
|
||||||
"@puppeteer/browsers": "2.2.0"
|
"@puppeteer/browsers": "2.2.0",
|
||||||
|
"devtools-protocol": "0.0.1262051"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "18.17.15"
|
"@types/node": "18.17.15"
|
||||||
|
@ -223,20 +223,6 @@
|
|||||||
"expectations": ["SKIP"],
|
"expectations": ["SKIP"],
|
||||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"testIdPattern": "[ariaqueryhandler.spec] AriaQueryHandler queryOne (Chromium web test) should find by role \"button\"",
|
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
|
||||||
"parameters": ["webDriverBiDi"],
|
|
||||||
"expectations": ["FAIL"],
|
|
||||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"testIdPattern": "[ariaqueryhandler.spec] AriaQueryHandler queryOne (Chromium web test) should find by role \"heading\"",
|
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
|
||||||
"parameters": ["webDriverBiDi"],
|
|
||||||
"expectations": ["FAIL"],
|
|
||||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"testIdPattern": "[autofill.spec] *",
|
"testIdPattern": "[autofill.spec] *",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
@ -924,6 +910,20 @@
|
|||||||
"expectations": ["FAIL"],
|
"expectations": ["FAIL"],
|
||||||
"comment": "Change in A11Y tree on Canary"
|
"comment": "Change in A11Y tree on Canary"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"testIdPattern": "[ariaqueryhandler.spec] AriaQueryHandler queryOne (Chromium web test) should find by role \"button\"",
|
||||||
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
"parameters": ["firefox", "webDriverBiDi"],
|
||||||
|
"expectations": ["FAIL"],
|
||||||
|
"comment": "Querying by a11y attributes is not standard behavior"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"testIdPattern": "[ariaqueryhandler.spec] AriaQueryHandler queryOne (Chromium web test) should find by role \"heading\"",
|
||||||
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
"parameters": ["firefox", "webDriverBiDi"],
|
||||||
|
"expectations": ["FAIL"],
|
||||||
|
"comment": "Querying by a11y attributes is not standard behavior"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"testIdPattern": "[bfcache.spec] BFCache can navigate to a BFCached page containing an OOPIF and a worker",
|
"testIdPattern": "[bfcache.spec] BFCache can navigate to a BFCached page containing an OOPIF and a worker",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
@ -697,20 +697,13 @@ describe('AriaQueryHandler', () => {
|
|||||||
ElementHandle<HTMLButtonElement>
|
ElementHandle<HTMLButtonElement>
|
||||||
>;
|
>;
|
||||||
const ids = await getIds(found);
|
const ids = await getIds(found);
|
||||||
expect(ids).toEqual([
|
expect(ids).toEqual(['node5', 'node6', 'node8', 'node10', 'node21']);
|
||||||
'node5',
|
|
||||||
'node6',
|
|
||||||
'node7',
|
|
||||||
'node8',
|
|
||||||
'node10',
|
|
||||||
'node21',
|
|
||||||
]);
|
|
||||||
});
|
});
|
||||||
it('should find by role "heading"', async () => {
|
it('should find by role "heading"', async () => {
|
||||||
const {page} = await setupPage();
|
const {page} = await setupPage();
|
||||||
const found = await page.$$('aria/[role="heading"]');
|
const found = await page.$$('aria/[role="heading"]');
|
||||||
const ids = await getIds(found);
|
const ids = await getIds(found);
|
||||||
expect(ids).toEqual(['shown', 'hidden', 'node11', 'node13']);
|
expect(ids).toEqual(['shown', 'node11', 'node13']);
|
||||||
});
|
});
|
||||||
it('should find both ignored and unignored', async () => {
|
it('should find both ignored and unignored', async () => {
|
||||||
const {page} = await setupPage();
|
const {page} = await setupPage();
|
||||||
|
@ -99,6 +99,12 @@ async function updateDevToolsProtocolVersion(revision) {
|
|||||||
`"devtools-protocol": "${currentProtocol}"`,
|
`"devtools-protocol": "${currentProtocol}"`,
|
||||||
`"devtools-protocol": "${bestNewProtocol}"`
|
`"devtools-protocol": "${bestNewProtocol}"`
|
||||||
);
|
);
|
||||||
|
|
||||||
|
await replaceInFile(
|
||||||
|
'./packages/puppeteer/package.json',
|
||||||
|
`"devtools-protocol": "${currentProtocol}"`,
|
||||||
|
`"devtools-protocol": "${bestNewProtocol}"`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
async function updateVersionFileLastMaintained(oldVersion, newVersion) {
|
async function updateVersionFileLastMaintained(oldVersion, newVersion) {
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
const versionsPerRelease = new Map([
|
const versionsPerRelease = new Map([
|
||||||
// This is a mapping from Chrome version => Puppeteer version.
|
// This is a mapping from Chrome version => Puppeteer version.
|
||||||
// In Chrome roll patches, use `NEXT` for the Puppeteer version.
|
// In Chrome roll patches, use `NEXT` for the Puppeteer version.
|
||||||
|
['123.0.6312.58', 'NEXT'],
|
||||||
['122.0.6261.128', 'v22.5.0'],
|
['122.0.6261.128', 'v22.5.0'],
|
||||||
['122.0.6261.111', 'v22.4.1'],
|
['122.0.6261.111', 'v22.4.1'],
|
||||||
['122.0.6261.94', 'v22.4.0'],
|
['122.0.6261.94', 'v22.4.0'],
|
||||||
@ -67,7 +68,7 @@ const versionsPerRelease = new Map([
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
// Should not be more than 2 major versions behind Chrome Stable (https://chromestatus.com/roadmap).
|
// Should not be more than 2 major versions behind Chrome Stable (https://chromestatus.com/roadmap).
|
||||||
const lastMaintainedChromeVersion = '119.0.6045.105';
|
const lastMaintainedChromeVersion = '120.0.6099.109';
|
||||||
|
|
||||||
if (!versionsPerRelease.has(lastMaintainedChromeVersion)) {
|
if (!versionsPerRelease.has(lastMaintainedChromeVersion)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
|
Loading…
Reference in New Issue
Block a user