mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
feat(chromium): roll to Chromium 110.0.5479.0 (r1083080) (#9500)
Closes #9470
This commit is contained in:
parent
e9df6750d2
commit
06e816bbfa
16
package-lock.json
generated
16
package-lock.json
generated
@ -3022,9 +3022,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/devtools-protocol": {
|
"node_modules/devtools-protocol": {
|
||||||
"version": "0.0.1068969",
|
"version": "0.0.1082910",
|
||||||
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1068969.tgz",
|
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1082910.tgz",
|
||||||
"integrity": "sha512-ATFTrPbY1dKYhPPvpjtwWKSK2mIwGmRwX54UASn9THEuIZCe2n9k3vVuMmt6jWeL+e5QaaguEv/pMyR+JQB7VQ=="
|
"integrity": "sha512-RqoZ2GmqaNxyx+99L/RemY5CkwG9D0WEfOKxekwCRXOGrDCep62ngezEJUVMq6rISYQ+085fJnWDQqGHlxVNww=="
|
||||||
},
|
},
|
||||||
"node_modules/diff": {
|
"node_modules/diff": {
|
||||||
"version": "5.1.0",
|
"version": "5.1.0",
|
||||||
@ -8684,7 +8684,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cross-fetch": "3.1.5",
|
"cross-fetch": "3.1.5",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1068969",
|
"devtools-protocol": "0.0.1082910",
|
||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"proxy-from-env": "1.1.0",
|
"proxy-from-env": "1.1.0",
|
||||||
@ -11249,9 +11249,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devtools-protocol": {
|
"devtools-protocol": {
|
||||||
"version": "0.0.1068969",
|
"version": "0.0.1082910",
|
||||||
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1068969.tgz",
|
"resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1082910.tgz",
|
||||||
"integrity": "sha512-ATFTrPbY1dKYhPPvpjtwWKSK2mIwGmRwX54UASn9THEuIZCe2n9k3vVuMmt6jWeL+e5QaaguEv/pMyR+JQB7VQ=="
|
"integrity": "sha512-RqoZ2GmqaNxyx+99L/RemY5CkwG9D0WEfOKxekwCRXOGrDCep62ngezEJUVMq6rISYQ+085fJnWDQqGHlxVNww=="
|
||||||
},
|
},
|
||||||
"diff": {
|
"diff": {
|
||||||
"version": "5.1.0",
|
"version": "5.1.0",
|
||||||
@ -14092,7 +14092,7 @@
|
|||||||
"requires": {
|
"requires": {
|
||||||
"cross-fetch": "3.1.5",
|
"cross-fetch": "3.1.5",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1068969",
|
"devtools-protocol": "0.0.1082910",
|
||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"proxy-from-env": "1.1.0",
|
"proxy-from-env": "1.1.0",
|
||||||
|
@ -152,7 +152,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cross-fetch": "3.1.5",
|
"cross-fetch": "3.1.5",
|
||||||
"debug": "4.3.4",
|
"debug": "4.3.4",
|
||||||
"devtools-protocol": "0.0.1068969",
|
"devtools-protocol": "0.0.1082910",
|
||||||
"extract-zip": "2.0.1",
|
"extract-zip": "2.0.1",
|
||||||
"https-proxy-agent": "5.0.1",
|
"https-proxy-agent": "5.0.1",
|
||||||
"proxy-from-env": "1.1.0",
|
"proxy-from-env": "1.1.0",
|
||||||
|
@ -18,6 +18,6 @@
|
|||||||
* @internal
|
* @internal
|
||||||
*/
|
*/
|
||||||
export const PUPPETEER_REVISIONS = Object.freeze({
|
export const PUPPETEER_REVISIONS = Object.freeze({
|
||||||
chromium: '1069273',
|
chromium: '1083080',
|
||||||
firefox: 'latest',
|
firefox: 'latest',
|
||||||
});
|
});
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
[
|
[
|
||||||
|
{
|
||||||
|
"testIdPattern": "[page.spec] Page BrowserContext.overridePermissions should trigger permission onchange",
|
||||||
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
"parameters": ["chrome"],
|
||||||
|
"expectations": ["FAIL"]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"testIdPattern": "[accessibility.spec]",
|
"testIdPattern": "[accessibility.spec]",
|
||||||
"platforms": ["darwin", "linux", "win32"],
|
"platforms": ["darwin", "linux", "win32"],
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
"end": 297
|
"end": 297
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"start": 327,
|
"start": 306,
|
||||||
"end": 433
|
"end": 435
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"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"
|
||||||
|
@ -279,7 +279,7 @@ describe('Coverage specs', function () {
|
|||||||
const coverage = await page.coverage.stopCSSCoverage();
|
const coverage = await page.coverage.stopCSSCoverage();
|
||||||
expect(coverage.length).toBe(1);
|
expect(coverage.length).toBe(1);
|
||||||
expect(coverage[0]!.url).toContain('/csscoverage/media.html');
|
expect(coverage[0]!.url).toContain('/csscoverage/media.html');
|
||||||
expect(coverage[0]!.ranges).toEqual([{start: 17, end: 38}]);
|
expect(coverage[0]!.ranges).toEqual([{start: 8, end: 40}]);
|
||||||
});
|
});
|
||||||
it('should work with complicated usecases', async () => {
|
it('should work with complicated usecases', async () => {
|
||||||
const {page, server} = getTestState();
|
const {page, server} = getTestState();
|
||||||
|
@ -391,12 +391,7 @@ describe('Page', function () {
|
|||||||
expect(await getPermission(page, 'geolocation')).toBe('prompt');
|
expect(await getPermission(page, 'geolocation')).toBe('prompt');
|
||||||
});
|
});
|
||||||
it('should trigger permission onchange', async () => {
|
it('should trigger permission onchange', async () => {
|
||||||
const {page, server, context, isHeadless} = getTestState();
|
const {page, server, context} = getTestState();
|
||||||
|
|
||||||
// TODO: re-enable this test in headful once crbug.com/1324480 rolls out.
|
|
||||||
if (!isHeadless) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
await page.goto(server.EMPTY_PAGE);
|
await page.goto(server.EMPTY_PAGE);
|
||||||
await page.evaluate(() => {
|
await page.evaluate(() => {
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
const versionsPerRelease = new Map([
|
const versionsPerRelease = new Map([
|
||||||
// This is a mapping from Chromium version => Puppeteer version.
|
// This is a mapping from Chromium version => Puppeteer version.
|
||||||
// In Chromium roll patches, use `NEXT` for the Puppeteer version.
|
// In Chromium roll patches, use `NEXT` for the Puppeteer version.
|
||||||
|
['110.0.5479.0', 'NEXT'],
|
||||||
['109.0.5412.0', 'v19.4.0'],
|
['109.0.5412.0', 'v19.4.0'],
|
||||||
['108.0.5351.0', 'v19.2.0'],
|
['108.0.5351.0', 'v19.2.0'],
|
||||||
['107.0.5296.0', 'v18.1.0'],
|
['107.0.5296.0', 'v18.1.0'],
|
||||||
@ -53,7 +54,7 @@ const versionsPerRelease = new Map([
|
|||||||
['73.0.3679.0', 'v1.12.2'],
|
['73.0.3679.0', 'v1.12.2'],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Should not be more then 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 lastMaintainedChromiumVersion = '107.0.5296.0';
|
const lastMaintainedChromiumVersion = '107.0.5296.0';
|
||||||
|
|
||||||
if (!versionsPerRelease.has(lastMaintainedChromiumVersion)) {
|
if (!versionsPerRelease.has(lastMaintainedChromiumVersion)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user