James M Snell
1d68bdbe3f
test: fix error message checks in test-module-loading
...
PR-URL: https://github.com/nodejs/node/pull/5986
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-06-23 16:59:39 -07:00
Jackson Tian
c98aaf59bf
http: speed up checkIsHttpToken
...
The Regex implementation is not faster than ascii code compare.
the field name is shorter, the speed is faster.
benchmark result here:
https://bitbucket.org/snippets/JacksonTian/Rnbad/benchmark-result
PR-URL: https://github.com/nodejs/node/pull/4790
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
2016-06-23 16:59:39 -07:00
Carl Lei
4c1eb5bf03
repl: create history file with mode 0600
...
Set the mode bits on the history file to 0o600 instead of leaving it
unspecified, which resulted in 0o755 on Unices.
Test code mostly written by Trott:
https://github.com/nodejs/node/issues/3392#issuecomment-148634126 .
PR-URL: https://github.com/nodejs/node/pull/3394
Fixes: https://github.com/nodejs/node/issues/3392
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-23 16:59:38 -07:00
evan.lucas
de00f91041
deps: backport bc2e393 from v8 upstream
...
Original commit message:
[tools] Make gen-postmortem-metadata.py more reliable
Instead of basing matches off of whitespace, walk the
inheritance chain and include any classes that inherit
from Object.
R=machenbach@chromium.org ,jkummerow@chromium.org
NOTRY=true
Review URL: https://codereview.chromium.org/1435643002
Cr-Commit-Position: refs/heads/master@{#31964}
This adds some missing classes to postmortem info like
JSMap and JSSet.
PR-URL: https://github.com/nodejs/node/pull/3792
Reviewed-By: Trevor Norris <trev.norris@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-06-23 16:59:38 -07:00
Fedor Indutny
b3acbc5648
net: replace __defineGetter__ with defineProperty
...
`Object.prototype.__defineGetter__` is deprecated now, use
`Object.defineProperty` instead.
PR-URL: https://github.com/nodejs/node/pull/6284
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-06-23 16:59:38 -07:00
Fedor Indutny
55319fe798
stream_base: expose bytesRead getter
...
This will provide `bytesRead` data on consumed sockets.
Fix : #3021
PR-URL: https://github.com/nodejs/node/pull/6284
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-06-23 16:59:38 -07:00
Myles Borins
e3f78eb7c1
doc: improve rendering of v4.4.5 changelog entry
...
Remove extra newlines that were causing rendering problems.
PR-URL: https://github.com/nodejs/node/pull/6958
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-06-23 16:59:38 -07:00
Jackson Tian
1c6809ce75
debugger: introduce exec method for debugger
...
In debugger, the usage of `repl` very ugly. I'd like there is a `p`
like gdb. So the `exec` is coming.
Usage:
```
$ ./iojs debug ~/git/node_research/server.js
< Debugger listening on port 5858
connecting to 127.0.0.1:5858 ... ok
break in /Users/jacksontian/git/node_research/server.js:1
> 1 var http = require('http');
2
3 http.createServer(function (req, res) {
debug> exec process.title
/Users/jacksontian/git/io.js/out/Release/iojs
debug>
```
And the `repl`:
```
debug> repl
Press Ctrl + C to leave debug repl
> process.title
'/Users/jacksontian/git/io.js/out/Release/iojs'
debug>
(^C again to quit)
```
The enter and leave debug repl is superfluous.
R-URL: https://github.com/nodejs/node/pull/1491
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Roman Reiss <me@silverwind.io >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-06-23 16:59:37 -07:00
Rich Trott
cc3645cff3
tools: lint for alignment of variable assignments
...
Enforce alignment/indentation on variable assignments that span multiple
lines.
PR-URL: https://github.com/nodejs/node/pull/6869
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-06-23 16:59:37 -07:00
Rich Trott
aaeeec4765
lib,test,tools: alignment on variable assignments
...
Correct alignment on variable assignments that span multiple lines in
preparation for lint rule to enforce such alignment.
PR-URL: https://github.com/nodejs/node/pull/6869
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-06-23 16:59:37 -07:00
Myles Borins
3745d848a7
Working on v4.4.7
...
PR-URL: https://github.com/nodejs/node-private/pull/41
2016-06-23 15:48:53 -07:00
Myles Borins
a4d9beb28a
2016-06-23, Version 4.4.6 'Argon' (LTS)
...
This is an important security release. All Node.js users should consult
the security release summary at nodejs.org for details on patched
vulnerabilities.
This release is specifically related to a Buffer overflow vulnerability
discovered in v8, more details can be found in the CVE
https://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-1669
PR-URL: https://github.com/nodejs/node-private/pull/41
v4.4.6
2016-06-22 20:27:49 -07:00
Ben Noordhuis
134c3b3977
deps: backport 3a9bfec from v8 upstream
...
Original commit message:
Fix overflow issue in Zone::New
When requesting a large allocation near the end of the address space,
the computation could overflow and erroneously *not* grow the Zone
as required.
BUG=chromium:606115
LOG=y
Review-Url: https://codereview.chromium.org/1930873002
Cr-Commit-Position: refs/heads/master@{#35903}
PR-URL: https://github.com/nodejs/node-private/pull/38
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-06-06 11:00:37 -07:00
Myles Borins
e2ccf62420
Working on v4.4.6
...
PR-URL: https://github.com/nodejs/node/pull/6824
2016-05-24 11:48:42 -07:00
Myles Borins
6330f482c8
2016-05-24, Version 4.4.5 'Argon' (LTS)
...
Notable changes:
* **buffer**:
* Buffer no longer errors if you call lastIndexOf with a search term
longer than the buffer (Anna Henningsen)
https://github.com/nodejs/node/pull/6511
* contextify:
* Context objects are now properly garbage collected, this solves a
problem some individuals were experiencing with extreme memory
growth (Ali Ijaz Sheikh)
https://github.com/nodejs/node/pull/6871
* deps:
* update npm to 2.15.5 (Rebecca Turner)
https://github.com/nodejs/node/pull/6663
* http:
* Invalid status codes can no longer be sent. Limited to 3 digit
numbers between 100 - 999 (Brian White)
https://github.com/nodejs/node/pull/6291
v4.4.5
2016-05-24 10:25:06 -07:00
Rich Trott
49a5941d30
test: fix test-debug-port-cluster flakiness
...
Remove port increment by `1337` which appears to sometimes result in a
port that is already in use. There is no reason not to use
`common.PORT`.
PR-URL: https://github.com/nodejs/node/pull/6769
Fixes: https://github.com/nodejs/node/issues/6754
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-23 10:58:02 -07:00
Rich Trott
f8144e4c4a
test: add logging for test-debug-port-cluster
...
The test is currently flaky and CI provides no real information because
the test times out rather than failing on an assertion. Add logging to
gather more information about the failure.
Refs: https://github.com/nodejs/node/issues/6754
PR-URL: https://github.com/nodejs/node/pull/6769
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-23 10:58:02 -07:00
Ali Ijaz Sheikh
823f726f66
contextify: tie lifetimes of context & sandbox
...
When the previous set of changes (bfff07b ) it was possible to have the
context get garbage collected while sandbox was still live. We need to
tie the lifetime of the context to the lifetime of the sandbox.
This is a backport of #5786 to v5.x.
Ref: https://github.com/nodejs/node/pull/5786
PR-URL: https://github.com/nodejs/node/pull/5800
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-20 10:29:31 -07:00
Ali Ijaz Sheikh
9ddb44ba61
contextify: cache sandbox and context in locals
...
PR-URL: https://github.com/nodejs/node/pull/5392
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-20 10:29:31 -07:00
Ali Ijaz Sheikh
8ebdcd65b0
contextify: replace deprecated SetWeak usage
...
PR-URL: https://github.com/nodejs/node/pull/5392
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-20 10:29:31 -07:00
Ali Ijaz Sheikh
9e6d8170f7
contextify: cleanup weak ref for sandbox
...
Simplify how node_contextify was keeping a weak reference to the
sandbox object in order to prepare for new style phantom weakness V8
API. It is simpler (and more robust) for the context to hold a
reference to the sandbox in an embedder data field. Doing otherwise
meant that the sandbox could become weak while the context was still
alive. This wasn't a problem because we would make the reference
strong at that point.
Since the sandbox must live at least as long as the context, it
would be better for the context to hold onto the sandbox.
PR-URL: https://github.com/nodejs/node/pull/5392
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-20 10:29:31 -07:00
Ali Ijaz Sheikh
b6fc15347d
contextify: cleanup weak ref for global proxy
...
Cleanup how node_contextify keeps weak references in order to prepare
for new style phantom weakness API. We didn't need to keep a weak
reference to the context's global proxy, as the context holds it.
PR-URL: https://github.com/nodejs/node/pull/5392
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-05-20 10:29:30 -07:00
Ben Noordhuis
50f02bd8d6
doc: update vm.runInDebugContext() example
...
The debugger needs to be active now before one is allowed to query the
list of scripts. Replace the example with one that works without
installing a debug event listener first.
Fixes: https://github.com/nodejs/node/issues/4862
PR-URL: https://github.com/nodejs/node/pull/6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Myles Borins <myles.borins@gmail.com >
2016-05-17 17:24:51 -07:00
Ben Noordhuis
773ea20d0e
test: include component in tap output
...
Print test name as (for example) "parallel/test-assert". Tests that are
scraped from the addons documentation are all named test.js, making it
hard to decipher what test is running when only the filename is printed.
Fixes: https://github.com/nodejs/node/issues/6651
PR-URL: https://github.com/nodejs/node/pull/6653
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:51 -07:00
Michael Dawson
333369e1ff
test: increase the platform timeout for AIX
...
There have been failures on AIX due to the slower
default loopback performance. So far I've resisted
updating the global timeout but seeing another
new failure in a newly added test I now think the
right thing is to just extend the platform
timeout for AIX. This commit does that.
PR-URL: https://github.com/nodejs/node/pull/6342
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
2016-05-17 17:24:51 -07:00
Evan Lucas
06e5fafe84
test: add tests for console.assert
...
There were previously no tests where console.assert failed
PR-URL: https://github.com/nodejs/node/pull/6302
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2016-05-17 17:24:51 -07:00
Brian White
620a261240
http: disallow sending obviously invalid status codes
...
PR-URL: https://github.com/nodejs/node/pull/6291
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com >
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 17:24:50 -07:00
Anna Henningsen
f60ba54811
test: add zlib close-after-error regression test
...
Add a regression test based on the report in
https://github.com/nodejs/node/issues/6034 .
PR-URL: https://github.com/nodejs/node/pull/6270
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:50 -07:00
James Lal
48684af55f
zlib: fix use after null when calling .close
...
An internal zlib error may cause _handle to be set to null.
Close now will check if there is a _handle prior to calling .close on
it.
PR-URL: https://github.com/nodejs/node/pull/5982
Fixes: https://github.com/nodejs/node/issues/6034
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 17:24:50 -07:00
Rich Trott
b8c9d6b64e
tools: enable linting for v8_prof_processor.js
...
`lib/internal/v8_prof_processor.js` was being excluded from linting, but
the only lint issue it has is that it cannot run in strict mode. Disable
the `strict` rule with a comment and remove the file from
`.eslintignore`.
PR-URL: https://github.com/nodejs/node/pull/6262
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:50 -07:00
Rich Trott
8fa202947d
tools: lint rule for assert.fail()
...
`assert.fail()` is often mistakenly used with a single argument even in
Node.js core. (See fixes to previous instances in
b7f4b1ba4c ,
28e9a022df . and
676e61872f54dd546e324599c7871c20b798386a.)
This commit adds a linting rule to identify instances of this issue.
PR-URL: https://github.com/nodejs/node/pull/6261
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 17:24:50 -07:00
Anna Henningsen
6ad85914b1
child_process: add nullptr checks after allocs
...
Add `CHECK_NE(·, nullptr)` after allocations made when
spawning child processes.
PR-URL: https://github.com/nodejs/node/pull/6256
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2016-05-17 17:24:49 -07:00
Rich Trott
c76f214b90
test,tools: enable linting for undefined vars
...
The test directory had linting for undefined variables disabled. It is
enabled everywhere else in the code base. Let's disable the fule for
individual lines in the handful of tests that use undefined variables.
PR-URL: https://github.com/nodejs/node/pull/6255
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Roman Reiss <me@silverwind.io >
2016-05-17 17:24:49 -07:00
Santiago Gimeno
24ac16f4be
test: fix flaky test-http-set-timeout-server
...
Make the servers listen on a free port number picked by the OS to avoid
rare `EADDRINUSE` errors on `SmartOS`.
Fixes: https://github.com/nodejs/node/issues/6197
PR-URL: https://github.com/nodejs/node/pull/6248
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:49 -07:00
surya panikkal
5002a71357
test: assert - fixed error messages to match the tests
...
PR-URL: https://github.com/nodejs/node/pull/6241
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
2016-05-17 17:24:49 -07:00
Rich Trott
9222689215
test,vm: enable strict mode for vm tests
...
Some vm tests are not in strict mode because they need to create and use
global variables. By using `global.foo` instead of just `foo`, we can
still enable strict mode.
PR-URL: https://github.com/nodejs/node/pull/6209
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com >
2016-05-17 17:24:49 -07:00
abouthiroppy
b872feade3
doc: replace functions with arrow functions
...
PR-URL: https://github.com/nodejs/node/pull/6203
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:48 -07:00
Santiago Gimeno
0f9405dd33
test: move more tests from sequential to parallel
...
Only `test-stdin-from-file.js` has been modified so that the `stdin.txt`
is written in a temp directory instead of the `fixtures` directory.
PR-URL: https://github.com/nodejs/node/pull/6187
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:48 -07:00
Anna Henningsen
7160229be4
doc: note that zlib.flush acts after pending writes
...
Describe that `zlib.flush()` may wait for pending writes and
until output is being read from the stream.
Fixes: https://github.com/nodejs/node/issues/3782
PR-URL: https://github.com/nodejs/node/pull/6172
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com >
2016-05-17 17:24:48 -07:00
Anna Henningsen
d069f2de8c
doc: add full example for zlib.flush()
...
Add a full example using `zlib.flush()` for the common use
case of writing partial compressed HTTP output to the client.
PR-URL: https://github.com/nodejs/node/pull/6172
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Robert Jefe Lindstädt <robert.lindstaedt@gmail.com >
2016-05-17 17:24:48 -07:00
Santiago Gimeno
37cc249218
test: fix test-net-settimeout flakiness
...
Wait for the data to be received by the socket before creating the
clean-up timer. This way, a possible (though unlikely) `ECONNRESET`
error can be avoided.
PR-URL: https://github.com/nodejs/node/pull/6166
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2016-05-17 17:24:47 -07:00
Rich Trott
69dcbb642f
test: fix flaky test-child-process-fork-net
...
Reduce client connections from 10 to 4 in a test that is causing issues
on Raspberry Pi 2 devices in CI.
Fixes: https://github.com/nodejs/node/issues/5122
PR-URL: https://github.com/nodejs/node/pull/6138
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
2016-05-17 17:24:47 -07:00
silverwind
a97a6a9d69
test: fix issues for ESLint 2.7.0
...
PR-URL: https://github.com/nodejs/node/pull/6132
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com >
2016-05-17 17:24:47 -07:00
silverwind
1aa6c5b7a9
tools: update ESLint to 2.7.0
...
PR-URL: https://github.com/nodejs/node/pull/6132
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: thefourtheye <thechargingvolcano@gmail.com >
2016-05-17 17:24:47 -07:00
Rich Trott
a865975909
test: fix flaky test-http-client-abort
...
Fixes: https://github.com/nodejs/node/issues/6080
PR-URL: https://github.com/nodejs/node/pull/6124
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Brian White <mscdex@mscdex.net >
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:46 -07:00
Sakthipriyan Vairamani
68c7de4372
tools: remove simplejson dependency
...
As Node.js expects either Python 2.6 or 2.7 installed to work properly,
simplejson module is no longer necessary. It was included in Python 2.6
as the json module.
PR-URL: https://github.com/nodejs/node/pull/6101
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-05-17 17:24:46 -07:00
Santiago Gimeno
25d4b5b1e9
test: move some test from sequential to parallel
...
The only test with modifications is `test-stdin-child-proc` that was
passing when it should not because the exit code of the child process
was not being checked.
PR-URL: https://github.com/nodejs/node/pull/6087
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com >
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com >
2016-05-17 17:24:46 -07:00
Robert Jefe Lindstaedt
59814acfef
doc: describe child.kill() pitfalls on linux
...
This commit refines the documentation around child.kill(), where kill
attempts against shells will lead to unexpected results. Namely, on
linux the child process of a child process will not terminate, when
its parent gets terminated. This is different across the the
platforms.
PR-URL: https://github.com/nodejs/node/issues/2098
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Closes: https://github.com/nodejs/node/issues/2098
2016-05-17 17:24:45 -07:00
Rich Trott
28040ccf49
test: refactor test-file-write-stream3
...
* use common.mustCall() to verify all tests have run
* eliminate unneeded removeTestFile()
* eliminate unneeded var leaking into global scope
* var -> const
* remove instance of let
PR-URL: https://github.com/nodejs/node/pull/6050
Reviewed-By: James M Snell <jasnell@gmail.com >
2016-05-17 17:24:45 -07:00
Rich Trott
3a67a05ed4
test: enforce strict mode for test-domain-crypto
...
The last change to this test landed before a nit about strict mode was
addressed, so this change addresses that.
PR-URL: https://github.com/nodejs/node/pull/6047
Refs: https://github.com/nodejs/node/pull/6017
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Roman Klauke <romaaan.git@gmail.com >
2016-05-17 17:24:45 -07:00