playwright/src/webkit
Dmitry Gozman 63cc126805
fix(webkit): do not swallow init errors (#2242)
This is a speculative fix to the following issue from the bots:

NON-TEST ERROR #0: UNHANDLED ERROR
  TypeError: Cannot read property 'url' of undefined
      at WKPage._onTargetCreated (/Users/runner/runners/2.169.1/work/playwright/playwright/src/webkit/wkPage.ts:274:12)
      at process._tickCallback (internal/process/next_tick.js:68:7)

I assume that _initializeSession did swallow an error, so we erroneously
consider Page to be fully initialized (and having main frame).
2020-05-14 15:43:23 -07:00
..
wkAccessibility.ts chore(lint): add @typescript-eslint/type-annotation-spacing rule (#897) 2020-02-07 13:36:49 -08:00
wkBrowser.ts chore: use internal BrowserOptions to unify browsers (#2230) 2020-05-14 13:22:33 -07:00
wkConnection.ts feat(logger): introduce context-level logger (#1896) 2020-04-20 23:24:53 -07:00
wkExecutionContext.ts fix(eval): adopt nested handles (#1430) 2020-03-19 13:07:33 -07:00
wkInput.ts chore(input): refactor keyboard layout, extract pure layout (#1681) 2020-04-11 00:24:17 -07:00
wkInterceptableRequest.ts fix(webkit): allow contenttype with charset in interception (#2108) 2020-05-04 21:49:54 -07:00
wkPage.ts fix(webkit): do not swallow init errors (#2242) 2020-05-14 15:43:23 -07:00
wkProtocolHelper.ts fix(dispose): do not await inner handle dispose (#1230) 2020-03-04 17:57:35 -08:00
wkProvisionalPage.ts fix(webkit): do not swallow init errors (#2242) 2020-05-14 15:43:23 -07:00
wkWorkers.ts feat(logging): introduce logger sink api (#1861) 2020-04-20 07:52:26 -07:00