feat: roll to Chrome 115.0.5790.98 (r1148114) (#10584)

Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
browser-automation-bot 2023-07-19 10:11:45 +02:00 committed by GitHub
parent caa81c090b
commit 830f926d48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 26 deletions

16
package-lock.json generated
View File

@ -3766,9 +3766,9 @@
} }
}, },
"node_modules/devtools-protocol": { "node_modules/devtools-protocol": {
"version": "0.0.1135028", "version": "0.0.1147663",
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1135028.tgz", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1147663.tgz",
"integrity": "sha512-jEcNGrh6lOXNRJvZb9RjeevtZGrgugPKSMJZxfyxWQnhlKawMPhMtk/dfC+Z/6xNXExlzTKlY5LzIAK/fRpQIw==" "integrity": "sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ=="
}, },
"node_modules/dezalgo": { "node_modules/dezalgo": {
"version": "1.0.4", "version": "1.0.4",
@ -10227,7 +10227,7 @@
"chromium-bidi": "0.4.16", "chromium-bidi": "0.4.16",
"cross-fetch": "4.0.0", "cross-fetch": "4.0.0",
"debug": "4.3.4", "debug": "4.3.4",
"devtools-protocol": "0.0.1135028", "devtools-protocol": "0.0.1147663",
"ws": "8.13.0" "ws": "8.13.0"
}, },
"devDependencies": { "devDependencies": {
@ -12779,9 +12779,9 @@
"dev": true "dev": true
}, },
"devtools-protocol": { "devtools-protocol": {
"version": "0.0.1135028", "version": "0.0.1147663",
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1135028.tgz", "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1147663.tgz",
"integrity": "sha512-jEcNGrh6lOXNRJvZb9RjeevtZGrgugPKSMJZxfyxWQnhlKawMPhMtk/dfC+Z/6xNXExlzTKlY5LzIAK/fRpQIw==" "integrity": "sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ=="
}, },
"dezalgo": { "dezalgo": {
"version": "1.0.4", "version": "1.0.4",
@ -15746,7 +15746,7 @@
"chromium-bidi": "0.4.16", "chromium-bidi": "0.4.16",
"cross-fetch": "4.0.0", "cross-fetch": "4.0.0",
"debug": "4.3.4", "debug": "4.3.4",
"devtools-protocol": "0.0.1135028", "devtools-protocol": "0.0.1147663",
"mitt": "3.0.0", "mitt": "3.0.0",
"parsel-js": "1.1.0", "parsel-js": "1.1.0",
"ws": "8.13.0" "ws": "8.13.0"

View File

@ -147,7 +147,7 @@
"chromium-bidi": "0.4.16", "chromium-bidi": "0.4.16",
"cross-fetch": "4.0.0", "cross-fetch": "4.0.0",
"debug": "4.3.4", "debug": "4.3.4",
"devtools-protocol": "0.0.1135028", "devtools-protocol": "0.0.1147663",
"ws": "8.13.0", "ws": "8.13.0",
"@puppeteer/browsers": "1.4.5" "@puppeteer/browsers": "1.4.5"
}, },

View File

@ -18,6 +18,6 @@
* @internal * @internal
*/ */
export const PUPPETEER_REVISIONS = Object.freeze({ export const PUPPETEER_REVISIONS = Object.freeze({
chrome: '114.0.5735.133', chrome: '115.0.5790.98',
firefox: 'latest', firefox: 'latest',
}); });

View File

@ -485,6 +485,12 @@
"parameters": ["chrome", "webDriverBiDi"], "parameters": ["chrome", "webDriverBiDi"],
"expectations": ["PASS"] "expectations": ["PASS"]
}, },
{
"testIdPattern": "[coverage.spec] Coverage specs JSCoverage should ignore pptr internal scripts if reportAnonymousScripts is true",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["webDriverBiDi"],
"expectations": ["FAIL", "PASS"]
},
{ {
"testIdPattern": "[drag-and-drop.spec] *", "testIdPattern": "[drag-and-drop.spec] *",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
@ -617,6 +623,12 @@
"parameters": ["webDriverBiDi"], "parameters": ["webDriverBiDi"],
"expectations": ["PASS"] "expectations": ["PASS"]
}, },
{
"testIdPattern": "[frame.spec] Frame specs Frame Management should support lazy frames",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome"],
"expectations": ["FAIL", "PASS"]
},
{ {
"testIdPattern": "[frame.spec] Frame specs Frame.evaluate allows readonly array to be an argument", "testIdPattern": "[frame.spec] Frame specs Frame.evaluate allows readonly array to be an argument",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
@ -1109,6 +1121,12 @@
"parameters": ["cdp", "firefox"], "parameters": ["cdp", "firefox"],
"expectations": ["SKIP"] "expectations": ["SKIP"]
}, },
{
"testIdPattern": "[oopif.spec] OOPIF-debug OOPIF should support lazy OOP frames",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome"],
"expectations": ["FAIL", "PASS"]
},
{ {
"testIdPattern": "[page.spec] Page BrowserContext.overridePermissions should be prompt by default", "testIdPattern": "[page.spec] Page BrowserContext.overridePermissions should be prompt by default",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
@ -1773,19 +1791,7 @@
"testIdPattern": "[coverage.spec] Coverage specs CSSCoverage should work with complicated usecases", "testIdPattern": "[coverage.spec] Coverage specs CSSCoverage should work with complicated usecases",
"platforms": ["darwin", "linux", "win32"], "platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"], "parameters": ["chrome", "webDriverBiDi"],
"expectations": ["FAIL"] "expectations": ["FAIL", "PASS"]
},
{
"testIdPattern": "[coverage.spec] Coverage specs CSSCoverage should work with media queries",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["FAIL"]
},
{
"testIdPattern": "[coverage.spec] Coverage specs JSCoverage should ignore pptr internal scripts if reportAnonymousScripts is true",
"platforms": ["darwin", "linux", "win32"],
"parameters": ["chrome", "webDriverBiDi"],
"expectations": ["FAIL"]
}, },
{ {
"testIdPattern": "[coverage.spec] Coverage specs JSCoverage should not ignore eval() scripts if reportAnonymousScripts is true", "testIdPattern": "[coverage.spec] Coverage specs JSCoverage should not ignore eval() scripts if reportAnonymousScripts is true",

View File

@ -8,7 +8,11 @@
}, },
{ {
"start": 306, "start": 306,
"end": 435 "end": 323
},
{
"start": 327,
"end": 433
} }
], ],
"text": "\n@charset \"utf-8\";\n@namespace svg url(http://www.w3.org/2000/svg);\n@font-face {\n font-family: \"Example Font\";\n src: url(\"./Dosis-Regular.ttf\");\n}\n\n#fluffy {\n border: 1px solid black;\n z-index: 1;\n /* -webkit-disabled-property: rgb(1, 2, 3) */\n -lol-cats: \"dogs\" /* non-existing property */\n}\n\n@media (min-width: 1px) {\n span {\n -webkit-border-radius: 10px;\n font-family: \"Example Font\";\n animation: 1s identifier;\n }\n}\n" "text": "\n@charset \"utf-8\";\n@namespace svg url(http://www.w3.org/2000/svg);\n@font-face {\n font-family: \"Example Font\";\n src: url(\"./Dosis-Regular.ttf\");\n}\n\n#fluffy {\n border: 1px solid black;\n z-index: 1;\n /* -webkit-disabled-property: rgb(1, 2, 3) */\n -lol-cats: \"dogs\" /* non-existing property */\n}\n\n@media (min-width: 1px) {\n span {\n -webkit-border-radius: 10px;\n font-family: \"Example Font\";\n animation: 1s identifier;\n }\n}\n"

View File

@ -272,7 +272,10 @@ describe('Coverage specs', function () {
const coverage = await page.coverage.stopCSSCoverage(); const coverage = await page.coverage.stopCSSCoverage();
expect(coverage).toHaveLength(1); expect(coverage).toHaveLength(1);
expect(coverage[0]!.url).toContain('/csscoverage/media.html'); expect(coverage[0]!.url).toContain('/csscoverage/media.html');
expect(coverage[0]!.ranges).toEqual([{start: 8, end: 40}]); expect(coverage[0]!.ranges).toEqual([
{start: 8, end: 15},
{start: 17, end: 38},
]);
}); });
it('should work with complicated usecases', async () => { it('should work with complicated usecases', async () => {
const {page, server} = await getTestState(); const {page, server} = await getTestState();

View File

@ -17,6 +17,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.
['115.0.5790.98', 'NEXT'],
['114.0.5735.133', 'v20.7.2'], ['114.0.5735.133', 'v20.7.2'],
['114.0.5735.90', 'v20.6.0'], ['114.0.5735.90', 'v20.6.0'],
['113.0.5672.63', 'v20.1.0'], ['113.0.5672.63', 'v20.1.0'],
@ -61,7 +62,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 = '112.0.5615.121'; const lastMaintainedChromeVersion = '113.0.5672.63';
if (!versionsPerRelease.has(lastMaintainedChromeVersion)) { if (!versionsPerRelease.has(lastMaintainedChromeVersion)) {
throw new Error( throw new Error(