diff options
author | James M Snell <jasnell@gmail.com> | 2018-08-14 16:01:54 -0700 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-08-18 12:39:59 -0700 |
commit | 4fa5448e5dd8fc06f92f94b170918913aef5bbdb (patch) | |
tree | c082853f723963bd6d77e83a310b4e99b7304e22 /test/parallel/test-http2-respond-errors.js | |
parent | c7788fba28b913bbab5eac929e8993742873b486 (diff) | |
download | android-node-v8-4fa5448e5dd8fc06f92f94b170918913aef5bbdb.tar.gz android-node-v8-4fa5448e5dd8fc06f92f94b170918913aef5bbdb.tar.bz2 android-node-v8-4fa5448e5dd8fc06f92f94b170918913aef5bbdb.zip |
http2: move process.binding('http2') to internalBinding
Refs: https://github.com/nodejs/node/issues/22160
PR-URL: https://github.com/nodejs/node/pull/22328
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'test/parallel/test-http2-respond-errors.js')
-rw-r--r-- | test/parallel/test-http2-respond-errors.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-http2-respond-errors.js b/test/parallel/test-http2-respond-errors.js index fa8a98b83f..98f2558253 100644 --- a/test/parallel/test-http2-respond-errors.js +++ b/test/parallel/test-http2-respond-errors.js @@ -5,7 +5,8 @@ const common = require('../common'); if (!common.hasCrypto) common.skip('missing crypto'); const http2 = require('http2'); -const { Http2Stream } = process.binding('http2'); +const { internalBinding } = require('internal/test/binding'); +const { Http2Stream } = internalBinding('http2'); const server = http2.createServer(); |