diff options
author | Rich Trott <rtrott@gmail.com> | 2018-11-16 15:51:07 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-20 15:22:18 -0800 |
commit | 566a694bbc67219d8765921c9b7d494b8a18a50c (patch) | |
tree | fc27daefd6a94ef43bed19667c1c526e701e52e1 /test/common/wpt.js | |
parent | 7ba83e893e44179abf339c042653334ed71a3f19 (diff) | |
download | android-node-v8-566a694bbc67219d8765921c9b7d494b8a18a50c.tar.gz android-node-v8-566a694bbc67219d8765921c9b7d494b8a18a50c.tar.bz2 android-node-v8-566a694bbc67219d8765921c9b7d494b8a18a50c.zip |
http2: replace unreachable error with assertion
"That particular `emit('error', ...)` is largely defensively coded and
should not ever actually happen." Sounds like an assertion rather than
an error event. The code in question has no test coverage because it is
believed to be unreachable.
Fixes: https://github.com/nodejs/node/issues/20673
PR-URL: https://github.com/nodejs/node/pull/24407
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'test/common/wpt.js')
0 files changed, 0 insertions, 0 deletions