mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(build): update chromium-bidi
to 0.5.20 (#12513)
Co-authored-by: Alex Rudenko <alexrudenko@chromium.org>
This commit is contained in:
parent
d8654f1eed
commit
077ca4532f
16
package-lock.json
generated
16
package-lock.json
generated
@ -12517,7 +12517,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "2.2.3",
|
||||
"chromium-bidi": "0.5.19",
|
||||
"chromium-bidi": "0.5.20",
|
||||
"debug": "4.3.4",
|
||||
"devtools-protocol": "0.0.1286932",
|
||||
"ws": "8.17.0"
|
||||
@ -12541,22 +12541,22 @@
|
||||
"license": "MIT"
|
||||
},
|
||||
"packages/puppeteer-core/node_modules/chromium-bidi": {
|
||||
"version": "0.5.19",
|
||||
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.19.tgz",
|
||||
"integrity": "sha512-UA6zL77b7RYCjJkZBsZ0wlvCTD+jTjllZ8f6wdO4buevXgTZYjV+XLB9CiEa2OuuTGGTLnI7eN9I60YxuALGQg==",
|
||||
"version": "0.5.20",
|
||||
"resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.20.tgz",
|
||||
"integrity": "sha512-RZa5N+VXCQ5W3wp0KynCtljy7bglk1VaB82H7a5OKiXGUOiz5G4CEwo89ovOk/DtvkLULr5AoQaG5O7VUxlZyQ==",
|
||||
"dependencies": {
|
||||
"mitt": "3.0.1",
|
||||
"urlpattern-polyfill": "10.0.0",
|
||||
"zod": "3.22.4"
|
||||
"zod": "3.23.5"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"devtools-protocol": "*"
|
||||
}
|
||||
},
|
||||
"packages/puppeteer-core/node_modules/chromium-bidi/node_modules/zod": {
|
||||
"version": "3.22.4",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.22.4.tgz",
|
||||
"integrity": "sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==",
|
||||
"version": "3.23.5",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.23.5.tgz",
|
||||
"integrity": "sha512-fkwiq0VIQTksNNA131rDOsVJcns0pfVUjHzLrNBiF/O/Xxb5lQyEXkhZWcJ7npWsYlvs+h0jFWXXy4X46Em1JA==",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/colinhacks"
|
||||
}
|
||||
|
@ -120,7 +120,7 @@
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@puppeteer/browsers": "2.2.3",
|
||||
"chromium-bidi": "0.5.19",
|
||||
"chromium-bidi": "0.5.20",
|
||||
"debug": "4.3.4",
|
||||
"devtools-protocol": "0.0.1286932",
|
||||
"ws": "8.17.0"
|
||||
|
@ -707,7 +707,9 @@ export function handleError(error: ProtocolError): void {
|
||||
// 'Expected "header" [...]'.
|
||||
if (
|
||||
error.originalMessage.includes('Invalid header') ||
|
||||
error.originalMessage.includes('Expected "header"')
|
||||
error.originalMessage.includes('Expected "header"') ||
|
||||
// WebDriver BiDi error for invalid values, for example, headers.
|
||||
error.originalMessage.includes('invalid argument')
|
||||
) {
|
||||
throw error;
|
||||
}
|
||||
|
@ -136,7 +136,7 @@ export class BidiConnection
|
||||
this.#callbacks.reject(
|
||||
object.id,
|
||||
createProtocolError(object),
|
||||
object.message
|
||||
`${object.error}: ${object.message}`
|
||||
);
|
||||
return;
|
||||
case 'event':
|
||||
|
@ -2561,20 +2561,6 @@
|
||||
"expectations": ["FAIL", "PASS"],
|
||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[network.spec] network raw network headers Same-origin set-cookie navigation",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["chrome", "webDriverBiDi"],
|
||||
"expectations": ["FAIL"],
|
||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[network.spec] network raw network headers Same-origin set-cookie subresource",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
"parameters": ["chrome", "webDriverBiDi"],
|
||||
"expectations": ["FAIL"],
|
||||
"comment": "TODO: add a comment explaining why this expectation is required (include links to issues)"
|
||||
},
|
||||
{
|
||||
"testIdPattern": "[network.spec] network raw network headers Same-origin set-cookie subresource",
|
||||
"platforms": ["darwin", "linux", "win32"],
|
||||
|
@ -770,7 +770,9 @@ describe('request interception', function () {
|
||||
await request.continue();
|
||||
});
|
||||
await page.goto(server.PREFIX + '/empty.html');
|
||||
expect(error.message).toMatch(/Invalid header|Expected "header"/);
|
||||
expect(error.message).toMatch(
|
||||
/Invalid header|Expected "header"|invalid argument/
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
@ -938,7 +940,9 @@ describe('request interception', function () {
|
||||
});
|
||||
});
|
||||
await page.goto(server.PREFIX + '/empty.html');
|
||||
expect(error.message).toMatch(/Invalid header|Expected "header"/);
|
||||
expect(error.message).toMatch(
|
||||
/Invalid header|Expected "header"|invalid argument/
|
||||
);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user