Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(v6.x backport) test: move WPT to its own testing module #13775

Closed
wants to merge 65 commits into from

Commits on Jun 17, 2017

  1. deps: add example of comparing OpenSSL changes

    When upgrading OpenSSL, Step 6 in upgrading guide explains the steps
    that need to be taken if asm files need updating. This might not
    always be the case and something that needs to be checked from
    release to release.
    
    This commit adds an example of using github to manually compare two tags
    to see if any changes were made to asm files.
    
    PR-URL: nodejs#13234
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    danbev authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    6c81b75 View commit details
    Browse the repository at this point in the history
  2. deps: upgrade openssl sources to 1.0.2l

    This replaces all sources of openssl-1.0.2l.tar.gz into
    deps/openssl/openssl
    
    Fixes: nodejs#13161
    PR-URL: nodejs#13233
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    danbev authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    d319015 View commit details
    Browse the repository at this point in the history
  3. deps: copy all openssl header files to include dir

    All symlink files in deps/openssl/openssl/include/openssl/ are removed
    and replaced with real header files to avoid issues on Windows. Two
    files of opensslconf.h in crypto and include dir are replaced to refer
    config/opensslconf.h.
    
    Fixes: nodejs#13161
    PR-URL: nodejs#13233
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    danbev authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    b0b52bc View commit details
    Browse the repository at this point in the history
  4. deps: fix openssl assembly error on ia32 win32

    `x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
    perhaps others) are requiring .686 .
    
    Fixes: nodejs#589
    PR-URL: nodejs#1389
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    indutny authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    22d74c4 View commit details
    Browse the repository at this point in the history
  5. deps: fix asm build error of openssl in x86_win32

    See
    https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html
    
    iojs needs to stop using masm and move to nasm or yasm on Win32.
    
    Fixes: nodejs#589
    PR-URL: nodejs#1389
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Shigeki Ohtsu authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    32bbf7a View commit details
    Browse the repository at this point in the history
  6. openssl: fix keypress requirement in apps on win32

    Reapply b910613 .
    
    Fixes: nodejs#589
    PR-URL: nodejs#1389
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Shigeki Ohtsu authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    b7a80dd View commit details
    Browse the repository at this point in the history
  7. deps: add -no_rand_screen to openssl s_client

    In openssl s_client on Windows, RAND_screen() is invoked to initialize
    random state but it takes several seconds in each connection.
    This added -no_rand_screen to openssl s_client on Windows to skip
    RAND_screen() and gets a better performance in the unit test of
    test-tls-server-verify.
    Do not enable this except to use in the unit test.
    
    Fixes: nodejs#1461
    PR-URL: nodejs#1836
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Ben Noordhuis <[email protected]>
    Shigeki Ohtsu authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    f90919f View commit details
    Browse the repository at this point in the history
  8. deps: update openssl config files

    Regenerate config files for supported platforms with Makefile.
    
    Fixes: nodejs#13161
    PR-URL: nodejs#13233
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    danbev authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    02a04cf View commit details
    Browse the repository at this point in the history
  9. deps: update openssl asm and asm_obsolete files

    Regenerate asm files with Makefile and CC=gcc and ASM=nasm where gcc
    version was 5.4.0 and nasm version was 2.11.08.
    
    Also asm files in asm_obsolete dir to support old compiler and
    assembler are regenerated without CC and ASM envs.
    
    Fixes: nodejs#13161
    PR-URL: nodejs#13233
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    danbev authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    99cadcb View commit details
    Browse the repository at this point in the history
  10. doc: add missing make command to UPGRADING.md

    Added the missing make command in steps 6.3 when building
    asm_obsolete.
    
    Also updated the commit message to include the version nasm in
    addition to the gcc version.
    
    Fixes: nodejs#13161
    PR-URL: nodejs#13233
    Backport-PR-URL: nodejs#13695
    Reviewed-By: Shigeki Ohtsu <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    danbev authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    e510003 View commit details
    Browse the repository at this point in the history
  11. doc: consistent case for primitive types

    PR-URL: nodejs#11167
    Backport-PR-URL: nodejs#13054
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    silverwind authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    6602954 View commit details
    Browse the repository at this point in the history
  12. doc: linkify type[] syntax, support lowercase for primitives

    PR-URL: nodejs#11167
    Backport-PR-URL: nodejs#13054
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    silverwind authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    40babf1 View commit details
    Browse the repository at this point in the history
  13. tools: fix lint issue in doctool

    PR-URL: nodejs#11658
    Backport-PR-URL: nodejs#13054
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    silverwind authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    e70cb6a View commit details
    Browse the repository at this point in the history
  14. doc/tools: fix more type inconsistencies

    - fix a number of uppercase types
    - lowercase 'integer'
    - consistent formatting in crypto
    
    PR-URL: nodejs#11697
    Backport-PR-URL: nodejs#13054
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    silverwind authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    311ef42 View commit details
    Browse the repository at this point in the history
  15. test: enable setuid/setgid test

    Refactor test for situations where it was expected to fail.
    Move from disabled directory to parallel.
    
    PR-URL: nodejs#12403
    Backport-PR-URL: nodejs#13060
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Trott authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    ae20511 View commit details
    Browse the repository at this point in the history
  16. test: introduce common.crashOnUnhandledRejection

    Ref: nodejs#12442
    PR-URL: nodejs#12489
    Backport-PR-URL: nodejs#13103
    Reviewed-By: Matthew Loring <[email protected]>
    Reviewed-By: Julien Gilli <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    4848862 View commit details
    Browse the repository at this point in the history
  17. test,doc: document crashOnUnhandledRejection()

    Add documentation for `common.crashOnUnhandledRejection()`.
    
    Ref: https://github.com/nodejs/node/pull/12489/files/a9c2078a60bc3012dc6156df19772697a56a2517#r113737423
    PR-URL: nodejs#12699
    Backport-PR-URL: nodejs#13103
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    addaleax authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    dfcefd6 View commit details
    Browse the repository at this point in the history
  18. zlib: fix node crashing on invalid options

    This is a partial backport of semver-patch bits of
    9e4660b.
    
    This commit fixes the Node process crashing when constructors of classes
    of the zlib module are given invalid options.
    
    * Throw an Error when the zlib library rejects the value of windowBits,
      instead of crashing with an assertion.
    
    * Treat windowBits and memLevel options consistently with other ones and
      don't crash when non-numeric values are given.
    
    PR-URL: nodejs#13098
    Backport-PR-URL: nodejs#13201
    Fixes: nodejs#13082
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    aqrln authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    321c90f View commit details
    Browse the repository at this point in the history
  19. crypto: clear err stack after ECDH::BufferToPoint

    Functions that call `ECDH::BufferToPoint` were not clearing the
    error stack on failure, so an invalid key could leave leftover
    error state and cause subsequent (unrelated) signing operations
    to fail.
    
    PR-URL: nodejs#13275
    Backport-PR-URL: nodejs#13397
    Reviewed-By: Fedor Indutny <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: Sam Roberts <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    rfk authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    04fb72f View commit details
    Browse the repository at this point in the history
  20. v8: fix build errors with g++ 7

    This is a local patch because upstream fixed it differently by moving
    large chunks of code out of objects.h.  We cannot easily back-port
    those changes due to their size and invasiveness.
    
    Fixes: nodejs#10388
    PR-URL: nodejs#12392
    Backport-PR-URL: nodejs#13574
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Zuzana Svetlikova authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    11c7e01 View commit details
    Browse the repository at this point in the history
  21. test: move test-debug-brk to sequential

    The test uses common.PORT, and has already been deleted on master.
    
    PR-URL: nodejs#13580
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    099694f View commit details
    Browse the repository at this point in the history
  22. test: move common.PORT debug tests to sequential

    They tend to hang if they happen to run in parallel with another test
    that uses common.PORT.
    
    PR-URL: nodejs#13592
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    7a22964 View commit details
    Browse the repository at this point in the history
  23. doc: update output examples in debugger.md

    PR-URL: nodejs#10944
    Backport-PR-URL: nodejs#13751
    Reviewed-By: Josh Gavant <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    7da19db View commit details
    Browse the repository at this point in the history
  24. benchmark: add final clean-up to module-loader.js

    PR-URL: nodejs#12102
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    b2d59b1 View commit details
    Browse the repository at this point in the history
  25. test: add internal/socket_list tests

    PR-URL: nodejs#12109
    Reviewed-By: James M Snell <[email protected]>
    DavidCai1111 authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    7af83ff View commit details
    Browse the repository at this point in the history
  26. doc: argument types for https methods

    Ref: nodejs#9399
    PR-URL: nodejs#11681
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    ameliavoncat authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    beb1644 View commit details
    Browse the repository at this point in the history
  27. doc: minor improvements in BUILDING.md

    1. necessarily reliably => necessarily reliable
    2. projects root directory => project's root directory
    3. remove `console` highlighting, as `test` alone is highlighted
    4. fix broken link for Android NDK
    5. highlight the directory location `/usr/local/ssl/fips-2.0`
    6. update expected output to an example for `process.versions.openssl` as the
       version displayed is not mentioned in the document
    
    PR-URL: nodejs#11963
    
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    thefourtheye authored and gibfahn committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    6f86285 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2017

  1. test: add basic cctest for base64.h

    This commit adds C++ tests for `base64_encode()` and `base64_decode()`
    functions defined in `base64.h`.  The functionality is already being
    tested indirectly in JavaScript tests for Buffer, but it won't hurt to
    test the low-level functions too, especially given that they aren't only
    used in the internal Buffer implementation, Chrome inspector protocol
    support relies upon them too.
    
    PR-URL: nodejs#12238
    Refs: nodejs#12146 (comment)
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Daniel Bevenius <[email protected]>
    aqrln authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    f7abf36 View commit details
    Browse the repository at this point in the history
  2. tools: replace custom new-with-error rule

    Use no-restricted-syntax to implement the requirement that `Error`
    objects must be thrown with the `new` keyword.
    
    PR-URL: nodejs#12249
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    cde1e9d View commit details
    Browse the repository at this point in the history
  3. test: remove disabled tls_server.js

    Remove tls_server.js that has been disabled for about 6 years. It
    appears to have worked in concert with some other file which has since
    been removed. It seems to create a server and set up a bunch of
    listeners, but it does not appear to have code that connects to the
    server and triggers any of those listeners.
    
    PR-URL: nodejs#12275
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Trott authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    ba51c18 View commit details
    Browse the repository at this point in the history
  4. tools: replace custom assert.fail lint rule

    Replace custom lint rule for `assert.fail()` function signature errors
    with a restricted-syntax rule.
    
    PR-URL: nodejs#12287
    Reviewed-By: Teddy Katz <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    7093711 View commit details
    Browse the repository at this point in the history
  5. build: clear stalled jobs on POSIX CI hosts

    Sometimes, after a cluster or debug test fails, a fixture hangs around
    and holds onto a needed port, causing subsequent CI runs to fail. This
    adds a command I've been running manually when this occurs. The command
    will clear the stalled jobs before a CI run.
    
    PR-URL: nodejs#11246
    Backport-PR-URL: nodejs#13754
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Josh Gavant <[email protected]>
    Trott authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    6d0c4ed View commit details
    Browse the repository at this point in the history
  6. doc: update os.uptime() and process.uptime() info

    PR-URL: nodejs#12294
    Fixes: nodejs#12291
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    6d7795f View commit details
    Browse the repository at this point in the history
  7. src: remove superfluous env_string string

    It's only used once at startup in a single place so create the string
    in place instead of caching it for the lifetime of the isolate.
    
    PR-URL: nodejs#9213
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    163b3cb View commit details
    Browse the repository at this point in the history
  8. src: make cross-context MakeCallback() calls work

    Check that invoking a callback on a receiver from a different context
    works.
    
    It ran afoul of an `env->context() == isolate->GetCurrentContext()`
    assertion so retrieve the environment from the callback context and
    the context to enter from the environment's context() method.
    
    We could also have retrieved the environment from the receiver's context
    and that would have made little practical difference.  It just seemed
    more correct to get it from the callback context because that is the
    actual execution context.
    
    PR-URL: nodejs#9221
    Reviewed-By: Anna Henningsen <[email protected]>
    bnoordhuis authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    fa9d6ad View commit details
    Browse the repository at this point in the history
  9. test: remove disabled test-dgram-send-error

    This test was disabled in 2013 because it spams random IPs with UDP
    messages. We've been doing fine for four years without so let's delete
    it.
    
    PR-URL: nodejs#12330
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Trott authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    e3dacbf View commit details
    Browse the repository at this point in the history
  10. build: avoid passing kill empty input in Makefile

    Using `xargs -r` on some platforms and `xargs` on others doesn't work,
    we can't guarantee whether xargs is GNU or not. Avoid the issue by only
    running kill if there are processes to clean.
    
    PR-URL: nodejs#12158
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    01cb518 View commit details
    Browse the repository at this point in the history
  11. test: run the addon tests last

    Running the addon tests before the parallel, sequential, etc. tests
    can be a problem if there is a bug in node that prevents the
    addon tests from running properly. When the addon tests fail for any
    reason, then none of the other tests (e.g. parallel, etc.)
    are executed.
    
    Running the addon tests last fixes this.
    
    Refs: nodejs#12031
    PR-URL: nodejs#12062
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    seppevs authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    f359682 View commit details
    Browse the repository at this point in the history
  12. build: disable -O3 for C++ coverage

    The `cflags` for `--coverage` included `-O0` so far, but that was
    overridden by a later `-O3`. Resolve that by adding
    `'cflags!': [ '-O3' ]` and increase coverage accuracy.
    
    Ref: https://coverage.nodejs.org/
    PR-URL: nodejs#12406
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    addaleax authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    ff637f1 View commit details
    Browse the repository at this point in the history
  13. benchmark,windows: TCP.readStart() meaningful only after completion

    fixes nodejs#11972
    
    PR-URL: nodejs#12258
    Reviewed-By: Matteo Collina <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    refack authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    ef1afdc View commit details
    Browse the repository at this point in the history
  14. test: replace [].join() with ''.repeat()

    Replace [].join calls with the more modern .repeat
    
    PR-URL: nodejs#12305
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Vse Mozhet Byt <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    JacksonTian authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    cff0043 View commit details
    Browse the repository at this point in the history
  15. test: remove common.PORT from multiple tests

    PR-URL: nodejs#12451
    Ref: nodejs#12376
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    tarunbatra authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    6578884 View commit details
    Browse the repository at this point in the history
  16. test: fix coverity UNINIT_CTOR cctest warning

    Explicitly initialize `platform_` to nullptr.  Coverity cannot divine
    it is set and cleared by the Setup() and TearDown() methods.
    
    PR-URL: nodejs#12387
    Reviewed-By: Daniel Bevenius <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    bnoordhuis authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    5a86259 View commit details
    Browse the repository at this point in the history
  17. test: dynamic port in cluster worker wait close

    Remove common.PORT from test-cluster-worker-wait-server-close
    possibility that a dynamic port used in another test will collide
    with common.PORT.
    
    PR-URL: nodejs#12466
    Ref: nodejs#12376
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Sebastian Plesciuc authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    8fdc978 View commit details
    Browse the repository at this point in the history
  18. repl: support hidden history file on Windows

    On Windows when REPL history file has the hidden attribute node will
    fail when trying to open it in 'w' mode. This changes the mode to
    'r+'. The file is guaranteed to exists because of earlier open call
    with 'a+'.
    
    Fixes: nodejs#5261
    PR-URL: nodejs#12207
    Reviewed-By: James M Snell <[email protected]>
    bzoz authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    c2afcea View commit details
    Browse the repository at this point in the history
  19. repl: fix /dev/null history file regression

    This fixes a regression from 83887f3 where ftruncate() fails on
    a file symlinked to /dev/null.
    
    PR-URL: nodejs#12762
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Jeremiah Senkpiel <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Bartosz Sosnowski <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    mscdex authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    7714f97 View commit details
    Browse the repository at this point in the history
  20. doc: modernize and fix code examples in repl.md

    * Improve UX in 2 code examples (add spaces between output and input
      for better readability).
    
    * Replace indexOf() by startsWith().
    
    PR-URL: nodejs#12634
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    03f8ffe View commit details
    Browse the repository at this point in the history
  21. test: dynamic port in parallel regress tests

    Removed common.PORT from test-regress-nodejsGH-5051 and
    test-regress-nodejsGH-5727 in order to eliminate the possibility
    of port collision.
    
    Refs: nodejs#12376
    PR-URL: nodejs#12639
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Sebastian Plesciuc authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    172cbfc View commit details
    Browse the repository at this point in the history
  22. test: replace indexOf with includes

    Start the transition to Array.prototype.includes() and
    String.prototype.includes().  This commit refactors most of the
    comparisons of Array.prototype.indexOf() and String.prototype.indexOf()
    return values with -1 to the former methods in tests.
    
    PR-URL: nodejs#12604
    Refs: nodejs#12586
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    gwer authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    17cb9ca View commit details
    Browse the repository at this point in the history
  23. tools: ignore node_trace.*.log

    `node_trace.*.log` files are generated by `NodeTraceWriter`.
    
    Refs: nodejs#9304
    PR-URL: nodejs#12754
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    watilde authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    cdd5b52 View commit details
    Browse the repository at this point in the history
  24. stream: remove unnecessary parameter

    Delete invalid parameter.
    
    Fixes: nodejs#8153
    PR-URL: nodejs#12767
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: David Cai <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Leo authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    2532fb4 View commit details
    Browse the repository at this point in the history
  25. build: add static option to vcbuild.bat

    Passes --enable-static to ./configure.
    
    PR-URL: nodejs#12764
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Tony Rice authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    f607d85 View commit details
    Browse the repository at this point in the history
  26. doc: document vm timeout option perf impact

    Mention that the `timeout` option has a noticeable performance impact.
    
    Fixes: nodejs#10453
    PR-URL: nodejs#12751
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    addaleax authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    5bb42d6 View commit details
    Browse the repository at this point in the history
  27. http: fix first body chunk fast case for UTF-16

    `http.OutgoingMessage` tried to send the first chunk together
    with the headers by concatenating them together as a string, but the
    list of encodings for which that works was incorrect.
    
    Change it from a blacklist to a whitelist.
    
    Fixes: nodejs#11788
    PR-URL: nodejs#12747
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    addaleax authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    90e1560 View commit details
    Browse the repository at this point in the history
  28. test: increase readline coverage

    PR-URL: nodejs#12761
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Сковорода Никита Андреевич <[email protected]>
    Reviewed-By: Michael Dawson <[email protected]>
    Reviewed-By: Daijiro Wachi <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    addaleax authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    8c891a2 View commit details
    Browse the repository at this point in the history
  29. crypto: throw proper errors if out enc is UTF-16

    Throw `Error`s instead of hard crashing when the `.digest()` output
    encoding is UTF-16.
    
    Fixes: nodejs#9817
    PR-URL: nodejs#12752
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Gibson Fahnestock <[email protected]>
    addaleax authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    faf237e View commit details
    Browse the repository at this point in the history
  30. src: rename CryptoPemCallback -> PasswordCallback

    While reading through node_crypto.cc I think the code could perhaps
    be be a made a little clearer if CryptPemCallback was renamed.
    
    I admit that I'm very new to the code base and openssl but having a
    name like PasswordCallback or something similar would have helped me
    so I'm suggesting this change.
    
    PR-URL: nodejs#12787
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    danbev authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    fbe36a0 View commit details
    Browse the repository at this point in the history
  31. test: add callback to fs.close() in test-fs-chmod

    To avoid '[DEP0013] DeprecationWarning:
    Calling an asynchronous function without callback is deprecated.'
    
    PR-URL: nodejs#12795
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    9937f5f View commit details
    Browse the repository at this point in the history
  32. test: add callback to fs.close() in test-fs-stat

    To avoid '[DEP0013] DeprecationWarning:
    Calling an asynchronous function without callback is deprecated.'
    
    PR-URL: nodejs#12804
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Reviewed-By: Santiago Gimeno <[email protected]>
    Reviewed-By: Yuta Hiroto <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    8321948 View commit details
    Browse the repository at this point in the history
  33. tools: remove unused code from test.py

    PR-URL: nodejs#12806
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Trott authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    c139b07 View commit details
    Browse the repository at this point in the history
  34. test: add regex check in test-vm-is-context

    Use a regex to validate the error message.
    
    PR-URL: nodejs#12785
    Reviewed-By: Luigi Pinca <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Jeyanthinath authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    35f8abe View commit details
    Browse the repository at this point in the history
  35. test: make tests cwd-independent

    PR-URL: nodejs#12812
    Reviewed-By: Alexey Orlenko <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    vsemozhetbyt authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    9084afb View commit details
    Browse the repository at this point in the history
  36. doc: update readFileSync in fs.md

    * Updated fs.md stating fs.readFileAsync is platform specific
    * Fix formatting of `note`s
    
    PR-URL: nodejs#12800
    Refs: nodejs#10962
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    thelostone-mc authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    5b979a8 View commit details
    Browse the repository at this point in the history
  37. src: turn buffer type-CHECK into exception

    Turn a `CHECK()` that could be brought to fail using public APIs
    into throwing an error.
    
    Fixes: nodejs#12152
    PR-URL: nodejs#12753
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Timothy Gu <[email protected]>
    Reviewed-By: Refael Ackermann <[email protected]>
    addaleax authored and gibfahn committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    ae38adc View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2017

  1. test: move WPT to its own testing module

    This is first in a hoped-for series of moves away from a monolithic
    common.js that is loaded for every test and towards a more modular
    approach. (In the end, common.js will hopefully contain checks for
    variables leaking into the global space and perhaps some of the more
    ubiquitous functions like common.mustCall().)
    
    Move the WPT testing code to its own module.
    
    PR-URL: nodejs#12736
    Reviewed-By: Gibson Fahnestock <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Richard Lau <[email protected]>
    Trott committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    7dcd96e View commit details
    Browse the repository at this point in the history