Files
puppeteer/test
Andrey Lushnikov ddfdaf97c5 fix(page): fix race condition in WaitTask (#2739)
This patch eliminates a common race condition with WaitTask, that
happens when predicate function gets resolved right before the execution
context gets destroyed.
This situation results in a "Cannot find context with specified id undefined"
exception.

Credits go to @jakub300 for his wonderful [investigation](https://github.com/GoogleChrome/puppeteer/issues/1325#issuecomment-395472092).

Fixes #1325.
2018-06-14 11:39:51 -07:00
..
2018-04-09 16:38:00 -07:00
2018-04-09 16:38:00 -07:00
2018-04-09 16:38:00 -07:00
2018-04-09 16:38:00 -07:00
2018-04-09 16:38:00 -07:00