playwright/packages
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
..
html-reporter chore: do not embed copyright in redistributable assets (#14928) 2022-06-16 16:18:25 -07:00
playwright chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-chromium chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-core fix(network): make allHeaders wait until all headers are available (#15094) 2022-06-24 13:51:09 -07:00
playwright-ct-react chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-ct-svelte chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-ct-vue chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-ct-vue2 chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-firefox chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
playwright-test fix(reporters): truncate long test titles from the start (#15052) 2022-06-22 17:03:54 -07:00
playwright-webkit chore: mark 1.24-next (#14857) 2022-06-21 19:32:15 +02:00
recorder fix(debug): do not pause on internal calls, update ct docs (#14018) 2022-05-07 19:56:25 -07:00
trace-viewer feat(har): introduce the slim mode (#15053) 2022-06-22 14:44:12 -07:00
web fix(types): follow up to react 18 changes (#14671) 2022-06-06 21:05:47 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00