Andrea Cardaci
ff4a389274
Fix watchdog timer cleanup ( #64 )
...
Fix a bug in f7cd004
which prevents the cleanup of the watchdog timer, thus keeping the Node.js process alive for this._maxTime msec no matter what.
2017-07-08 08:54:28 -07:00
Andrey Lushnikov
f7cd0048af
Cleanup navigator logic
...
This patch cleans up navigator logic. (This is a result of a pair
programming with @pavelfeldman).
2017-07-07 15:46:05 -07:00
Andrey Lushnikov
3dfa688920
Simplify lib/Navigator.js
2017-06-29 12:28:05 -07:00
Patrick Hulce
4b0b81fd9b
Add better network idle definition ( #38 )
...
This patch:
- Changes network idle promise to wait for 2 or fewer network requests for at least idleTime (defaults to 5s) before resolving.
- Adds timer cleanup to failure navigation case.
- Adds handling of webSocketClosed.
- Ignores unrecognized requestIds to avoid negative inflight requests.
References #10
2017-06-28 14:39:37 -07:00
Andrey Lushnikov
819fa355f4
Convert var's to let's
...
This patch:
- converts all var's to let's throughout the codebase
- enforces the let's over var's via the eslint rule
2017-06-22 14:58:39 -07:00
Pavel Feldman
cf35524285
Foramt JSDocs for 2 spaces
2017-06-21 14:11:52 -07:00
Pavel Feldman
437a93b26e
Reformat code using 2 spaces
2017-06-21 14:11:52 -07:00
Pavel Feldman
bc0655b587
Extract basic in-flight counting navigator
2017-06-21 14:11:52 -07:00