Dmitry Gozman
55cfff38c6
fix(waitForFunction): handle predicate that throws ( #2488 )
...
Currently, we fail when the predicate throws on the first call,
and timeout when it fails on any other call.
There are two possible ways to handle throwing predicates:
- Fail waitForFunction if predicate throws once. This is good
since it gives you the error faster.
- Tolerate predicate exceptions. This is good because you do
not have to worry about non-initialized state during load.
This change implements the former.
2020-06-08 16:29:29 -07:00
..
2020-06-05 17:39:24 -07:00
2020-06-01 13:47:02 -07:00
2020-05-14 13:22:33 -07:00
2020-05-31 09:28:57 -07:00
2020-05-27 14:26:44 -07:00
2020-05-04 21:49:54 -07:00
2020-05-04 21:49:54 -07:00
2020-05-04 21:49:54 -07:00
2020-04-08 15:19:09 -07:00
2020-06-01 08:54:18 -07:00
2020-06-06 20:59:06 -07:00
2020-04-08 15:19:09 -07:00
2020-05-21 15:13:16 -07:00
2020-06-05 17:39:24 -07:00
2020-06-06 20:59:06 -07:00
2020-05-21 15:37:52 -07:00
2020-05-29 14:39:34 -07:00
2020-04-08 15:19:09 -07:00
2020-04-29 20:46:42 -07:00
2020-05-14 07:57:29 -07:00
2020-06-03 11:23:24 -07:00
2020-06-05 16:22:30 -07:00
2020-06-03 17:50:16 -07:00
2020-05-27 14:26:44 -07:00
2020-05-07 16:10:29 -07:00
2020-04-08 15:19:09 -07:00
2020-04-13 21:43:06 -07:00
2020-05-26 10:22:53 -07:00
2020-04-22 12:41:39 -07:00
2020-04-16 10:25:28 -07:00
2020-05-04 21:49:54 -07:00
2020-05-27 17:19:05 -07:00
2020-05-26 14:48:21 -07:00
2020-05-29 14:39:34 -07:00
2020-04-20 23:24:53 -07:00
2020-04-22 00:07:02 -07:00
2020-04-12 22:19:26 -07:00
2020-06-06 20:59:06 -07:00
2020-06-01 10:12:46 -07:00
2020-06-04 16:43:48 -07:00
2020-05-13 18:33:07 -07:00
2020-05-22 15:56:37 -07:00
2020-06-05 13:50:15 -07:00
2020-06-04 15:58:43 -07:00
2019-11-19 10:58:15 -08:00
2020-05-13 20:53:11 -07:00
2020-06-05 13:50:15 -07:00
2020-06-05 17:56:25 -07:00
2020-02-10 13:20:13 -08:00
2020-05-23 00:03:57 -07:00
2020-05-21 15:13:16 -07:00
2020-06-08 16:29:29 -07:00
2020-04-15 19:50:04 -07:00