playwright/src/webkit
Dmitry Gozman 39ce35e154
fix(errors): strict error handling around element operations (#2567)
- Gave all possible dom errors distinct names, and throw them on the node side.
- Separated errors into FatalDOMError and RetargetableDOMError.
  Fatal errors are unrecoverable. Retargetable errors
  could be resolved by requerying the selector.
- This exposed a number of unhandled 'notconnected' cases.
- Added helper functions to handle errors and ensure TypeScript catches
  unhandled ones.
2020-06-24 15:12:17 -07:00
..
wkAccessibility.ts fix(evaluate): consistently serialize json values (#2377) 2020-05-27 17:19:05 -07:00
wkBrowser.ts chore(logs): rework logs for simplicity (#2592) 2020-06-16 17:11:19 -07:00
wkConnection.ts chore(logs): rework logs for simplicity (#2592) 2020-06-16 17:11:19 -07:00
wkExecutionContext.ts feat(debug): generate preview for ElementHandle (#2549) 2020-06-12 11:10:18 -07:00
wkInput.ts chore: move non-trivial types out of types.ts (#2680) 2020-06-23 14:51:06 -07:00
wkInterceptableRequest.ts fix(network): disallow intercepting redirects (#2617) 2020-06-18 17:15:47 -07:00
wkPage.ts fix(errors): strict error handling around element operations (#2567) 2020-06-24 15:12:17 -07:00
wkProvisionalPage.ts fix(webkit): do not swallow init errors (#2242) 2020-05-14 15:43:23 -07:00
wkWorkers.ts chore: simplify logging a bit (#2512) 2020-06-09 16:11:17 -07:00