diff --git a/package-lock.json b/package-lock.json index 52faa1fe0fd..fcbc6e35eeb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3766,9 +3766,9 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.1135028", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1135028.tgz", - "integrity": "sha512-jEcNGrh6lOXNRJvZb9RjeevtZGrgugPKSMJZxfyxWQnhlKawMPhMtk/dfC+Z/6xNXExlzTKlY5LzIAK/fRpQIw==" + "version": "0.0.1147663", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1147663.tgz", + "integrity": "sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ==" }, "node_modules/dezalgo": { "version": "1.0.4", @@ -10227,7 +10227,7 @@ "chromium-bidi": "0.4.16", "cross-fetch": "4.0.0", "debug": "4.3.4", - "devtools-protocol": "0.0.1135028", + "devtools-protocol": "0.0.1147663", "ws": "8.13.0" }, "devDependencies": { @@ -12779,9 +12779,9 @@ "dev": true }, "devtools-protocol": { - "version": "0.0.1135028", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1135028.tgz", - "integrity": "sha512-jEcNGrh6lOXNRJvZb9RjeevtZGrgugPKSMJZxfyxWQnhlKawMPhMtk/dfC+Z/6xNXExlzTKlY5LzIAK/fRpQIw==" + "version": "0.0.1147663", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1147663.tgz", + "integrity": "sha512-hyWmRrexdhbZ1tcJUGpO95ivbRhWXz++F4Ko+n21AY5PNln2ovoJw+8ZMNDTtip+CNFQfrtLVh/w4009dXO/eQ==" }, "dezalgo": { "version": "1.0.4", @@ -15746,7 +15746,7 @@ "chromium-bidi": "0.4.16", "cross-fetch": "4.0.0", "debug": "4.3.4", - "devtools-protocol": "0.0.1135028", + "devtools-protocol": "0.0.1147663", "mitt": "3.0.0", "parsel-js": "1.1.0", "ws": "8.13.0" diff --git a/packages/puppeteer-core/package.json b/packages/puppeteer-core/package.json index c0b112e33a4..f1ff06e1df0 100644 --- a/packages/puppeteer-core/package.json +++ b/packages/puppeteer-core/package.json @@ -147,7 +147,7 @@ "chromium-bidi": "0.4.16", "cross-fetch": "4.0.0", "debug": "4.3.4", - "devtools-protocol": "0.0.1135028", + "devtools-protocol": "0.0.1147663", "ws": "8.13.0", "@puppeteer/browsers": "1.4.5" }, diff --git a/packages/puppeteer-core/src/revisions.ts b/packages/puppeteer-core/src/revisions.ts index f1d13c8e731..87c7ab13d2b 100644 --- a/packages/puppeteer-core/src/revisions.ts +++ b/packages/puppeteer-core/src/revisions.ts @@ -18,6 +18,6 @@ * @internal */ export const PUPPETEER_REVISIONS = Object.freeze({ - chrome: '114.0.5735.133', + chrome: '115.0.5790.98', firefox: 'latest', }); diff --git a/test/TestExpectations.json b/test/TestExpectations.json index b15fd68e124..570725fe620 100644 --- a/test/TestExpectations.json +++ b/test/TestExpectations.json @@ -485,6 +485,12 @@ "parameters": ["chrome", "webDriverBiDi"], "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] *", "platforms": ["darwin", "linux", "win32"], @@ -617,6 +623,12 @@ "parameters": ["webDriverBiDi"], "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", "platforms": ["darwin", "linux", "win32"], @@ -1109,6 +1121,12 @@ "parameters": ["cdp", "firefox"], "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", "platforms": ["darwin", "linux", "win32"], @@ -1773,19 +1791,7 @@ "testIdPattern": "[coverage.spec] Coverage specs CSSCoverage should work with complicated usecases", "platforms": ["darwin", "linux", "win32"], "parameters": ["chrome", "webDriverBiDi"], - "expectations": ["FAIL"] - }, - { - "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"] + "expectations": ["FAIL", "PASS"] }, { "testIdPattern": "[coverage.spec] Coverage specs JSCoverage should not ignore eval() scripts if reportAnonymousScripts is true", diff --git a/test/golden-chrome/csscoverage-involved.txt b/test/golden-chrome/csscoverage-involved.txt index 189ae05f970..ecb1a6342f4 100644 --- a/test/golden-chrome/csscoverage-involved.txt +++ b/test/golden-chrome/csscoverage-involved.txt @@ -8,7 +8,11 @@ }, { "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" diff --git a/test/src/coverage.spec.ts b/test/src/coverage.spec.ts index 3538903a1c2..a205196b974 100644 --- a/test/src/coverage.spec.ts +++ b/test/src/coverage.spec.ts @@ -272,7 +272,10 @@ describe('Coverage specs', function () { const coverage = await page.coverage.stopCSSCoverage(); expect(coverage).toHaveLength(1); 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 () => { const {page, server} = await getTestState(); diff --git a/versions.js b/versions.js index 6f95a02d65a..9c3e4efb4ef 100644 --- a/versions.js +++ b/versions.js @@ -17,6 +17,7 @@ const versionsPerRelease = new Map([ // This is a mapping from Chrome version => 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.90', 'v20.6.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). -const lastMaintainedChromeVersion = '112.0.5615.121'; +const lastMaintainedChromeVersion = '113.0.5672.63'; if (!versionsPerRelease.has(lastMaintainedChromeVersion)) { throw new Error(