playwright/packages/playwright-core/src/server/chromium
Dmitry Gozman 660516d22a
fix(network): make allHeaders wait until all headers are available (#15094)
fix(network): make allHeaders wait until all header are available

Before, calling `allHeaders()` from `page.on('request')` would yield
provisional headers instead.

With these changes:
- In Firefox, all headers are available immediately.
- In Chromium, all headers are available upon requestWillBeSentExtraInfo.
- In WebKit, all headers are available upon responseReceived.
- In all browsers, intercepted requests use "provisional" headers
  as all headers, since there is no network stack to change the headers.

Drive-by: migrated Chromium to `hasExtraInfo` flags that simplifies
the logic quite a bit.
2022-06-24 13:51:09 -07:00
..
appIcon.png chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
chromium.ts fix(chromium): disable back-forward cache (#14996) 2022-06-20 17:27:45 -07:00
crAccessibility.ts chore: use channels types instead of a copy in server (#14874) 2022-06-14 22:02:15 -07:00
crApp.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
crBrowser.ts feat(chromium): allow attaching to other targets as to pages (#14873) 2022-06-15 09:31:32 -07:00
crConnection.ts feat(chromium): roll tot, ignore unknown session error (#13932) 2022-05-04 10:00:02 -07:00
crCoverage.ts chore: use channels types instead of a copy in server (#14874) 2022-06-14 22:02:15 -07:00
crDevTools.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
crDragDrop.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
crExecutionContext.ts chore: use utils via index export (6) (#13417) 2022-04-07 21:48:41 -07:00
crInput.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
crNetworkManager.ts fix(network): make allHeaders wait until all headers are available (#15094) 2022-06-24 13:51:09 -07:00
crPage.ts fix: request/response events with backgroundPages (#15032) 2022-06-22 17:23:51 +02:00
crPdf.ts chore: use channels types instead of a copy in server (#14874) 2022-06-14 22:02:15 -07:00
crProtocolHelper.ts chore: use utils via index export (5) (#13413) 2022-04-07 20:18:22 -07:00
defaultFontFamilies.ts fix(chromium): work around about:blank issue on Chromium (#14068) 2022-05-10 20:32:19 +01:00
protocol.d.ts feat(chromium): roll to r1009 (#14620) 2022-06-07 17:38:13 +02:00
videoRecorder.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00