playwright/src/webkit
Dmitry Gozman 064a0a1154
fix(webkit): do not swallow errors when returning by value (#2723)
We currently return undefined whenever we had an error trying
return the evaluation result by error. The most common error
is "execution context destroyed".

This produces very unexpected undefined from methods that do not
ever expect undefined. Instead, we should throw because we were
not able to return the result.
2020-06-26 09:50:57 -07:00
..
wkAccessibility.ts chore(rpc): implement input, a11y, console (#2722) 2020-06-25 18:01:18 -07:00
wkBrowser.ts chore: prepare library types for rpc (#2706) 2020-06-25 08:30:56 -07:00
wkConnection.ts chore(logs): rework logs for simplicity (#2592) 2020-06-16 17:11:19 -07:00
wkExecutionContext.ts fix(webkit): do not swallow errors when returning by value (#2723) 2020-06-26 09:50:57 -07:00
wkInput.ts chore: move non-trivial types out of types.ts (#2680) 2020-06-23 14:51:06 -07:00
wkInterceptableRequest.ts chore: prepare library types for rpc (#2706) 2020-06-25 08:30:56 -07:00
wkPage.ts chore(rpc): implement input, a11y, console (#2722) 2020-06-25 18:01:18 -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