playwright/packages/playwright-core/src/server/webkit
Dmitry Gozman fea8772d95
fix: emit load/domcontentloaded events as reported by the browser (#16861)
Instead of requiring all frames in the subtree to receive a particular
event, we rely on the browser's definition of load and DOMContentLoaded.

This changes logic in a few edge cases:
- Some browsers do not emit load event upon window.stop() at all.
- DOMContentLoaded does not wait for subframes, so they might not be
  ready when passing `{ waitUntil: 'domcontentloaded' }`.

`networkidle` preserves the old logic.
2022-08-26 13:48:05 -07:00
..
protocol.d.ts feat(webkit): roll to r1706 (#16659) 2022-08-19 07:42:58 +02:00
webkit.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
wkAccessibility.ts chore: use channels types instead of a copy in server (#14874) 2022-06-14 22:02:15 -07:00
wkBrowser.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
wkConnection.ts fix(firefox): launch races (#15259) 2022-06-30 10:58:22 -07:00
wkExecutionContext.ts chore: use utils via index export (6) (#13417) 2022-04-07 21:48:41 -07:00
wkInput.ts chore: use utils via index export (3) (#13403) 2022-04-07 13:55:44 -07:00
wkInterceptableRequest.ts feat(chromium): Service Worker Network Instrumentation and Inspection (#14716) 2022-07-01 12:49:43 -07:00
wkPage.ts fix: emit load/domcontentloaded events as reported by the browser (#16861) 2022-08-26 13:48:05 -07:00
wkProvisionalPage.ts chore: use utils via index export (5) (#13413) 2022-04-07 20:18:22 -07:00
wkWorkers.ts chore: use utils via index export (5) (#13413) 2022-04-07 20:18:22 -07:00