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

v15.2.0 proposal #36055

Merged
merged 66 commits into from Nov 10, 2020
Merged

v15.2.0 proposal #36055

merged 66 commits into from Nov 10, 2020

Commits on Nov 9, 2020

  1. doc: fix incorrect heading level

    PR-URL: #35965
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    700software authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    efbfeff View commit details
    Browse the repository at this point in the history
  2. doc: fix release-schedule link in backport guide

    PR-URL: #35920
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    watilde authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    6968b0f View commit details
    Browse the repository at this point in the history
  3. src: remove ERR prefix in crypto status enums

    This commit removes the ERR prefix of the remaining status enums in
    crypto so they are consistent with Commit
    923f76d ("src: remove ERR prefix in
    WebCryptoKeyExportStatus").
    
    PR-URL: #35867
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
    danbev authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    1b277d9 View commit details
    Browse the repository at this point in the history
  4. n-api: unlink reference during its destructor

    Currently, a reference is being unlinked from the list of references
    tracked by the environment when `v8impl::Reference::Delete` is called.
    This causes a leak when deletion must be deferred because the finalizer
    hasn't yet run, but the finalizer does not run because environment
    teardown is in progress, and so no more gc runs will happen, and the
    `FinalizeAll` run that happens during environment teardown does not
    catch the reference because it's no longer in the list. The test below
    will fail when running with ASAN:
    
    ```
    ./node ./test/node-api/test_worker_terminate_finalization/test.js
    ```
    
    OTOH if, to address the above leak, we make a special case to not
    unlink a reference during environment teardown, we run into a
    situation where the reference gets deleted by
    `v8impl::Reference::Delete` but does not get unlinked because it's
    environment teardown time. This leaves a stale pointer in the linked
    list which will result in a use-after-free in `FinalizeAll` during
    environment teardown. The test below will fail if we make the above
    change:
    
    ```
    ./node -e "require('./test/node-api/test_instance_data/build/Release/test_ref_then_set.node');"
    ```
    
    Thus, we unlink a reference precisely when we destroy it – in its
    destructor.
    
    Refs: #34731
    Refs: #34839
    Refs: #35620
    Refs: #35777
    Fixes: #35778
    Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
    PR-URL: #35933
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Gabriel Schulhof authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    9b6512f View commit details
    Browse the repository at this point in the history
  5. benchmark: remove modules that require intl

    `inspector` and `trace_events` will throw errors if Node.js has been
    compiled with `--without-intl`.
    
    Refs: #35816
    
    PR-URL: #35968
    Fixes: #35962
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    richardlau authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    4c6de85 View commit details
    Browse the repository at this point in the history
  6. doc: option --prof documentation help added

    PR-URL: #34991
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Krank2me authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    acd3617 View commit details
    Browse the repository at this point in the history
  7. doc: add new wordings to the API description

    PR-URL: #35588
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    PoojaDurgad authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    8bd364a View commit details
    Browse the repository at this point in the history
  8. test: fix error in test/internet/test-dns.js

    Refs: #35466 (comment)
    
    PR-URL: #35969
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Trott authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    23f0d0c View commit details
    Browse the repository at this point in the history
  9. doc: update benchmark CI test indicator in README

    As of c7627da, benchmark tests are run
    in CI, but the README was not updated to indicate this.
    
    PR-URL: #35945
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Trott authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    6d56ba0 View commit details
    Browse the repository at this point in the history
  10. crypto: fix comment in ByteSource

    PR-URL: #35972
    Refs: #35821
    Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: David Carlier <devnexen@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    tniessen authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    dc4936b View commit details
    Browse the repository at this point in the history
  11. console: use more primordials

    PR-URL: #35734
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    9757b47 View commit details
    Browse the repository at this point in the history
  12. lib: refactor to use more primordials

    PR-URL: #35875
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    b700900 View commit details
    Browse the repository at this point in the history
  13. errors: refactor to use more primordials

    PR-URL: #35944
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    d83e253 View commit details
    Browse the repository at this point in the history
  14. fs: add support for AbortSignal in readFile

    PR-URL: #35911
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    92bdfd1 View commit details
    Browse the repository at this point in the history
  15. events: port some wpt tests

    PR-URL: #33621
    Reviewed-By: James M Snell <jasnell@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    76332a0 View commit details
    Browse the repository at this point in the history
  16. events: support emit on nodeeventtarget

    PR-URL: #35851
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    a7d0c76 View commit details
    Browse the repository at this point in the history
  17. doc: update core-validate-commit link in guide

    PR-URL: #35938
    Reviewed-By: Shelley Vohr <codebytere@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Mary Marchini <oss@mmarchini.me>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    watilde authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    77d33c9 View commit details
    Browse the repository at this point in the history
  18. doc: revise v8.getHeapSnapshot()

    * move entry above v8.getHeapSpaceStatistics() (where it belongs
      alphabetically and is not out of place logically)
    * split lengthy sentence into two sentences
    
    PR-URL: #35849
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    Trott authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    01129a7 View commit details
    Browse the repository at this point in the history
  19. test: update old comment style test_util.cc

    PR-URL: #35884
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RaisinTen authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    cb6f0d3 View commit details
    Browse the repository at this point in the history
  20. http2: fix error stream write followed by destroy

    PR-URL: #35951
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    davedoesdev authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    1dd744a View commit details
    Browse the repository at this point in the history
  21. module: refactor to use iterable-weak-map

    Using an iterable WeakMap (a data-structure that uses WeakRef and
    WeakMap), we are able to: stop relying on Module._cache to
    serialize source maps; stop requiring an error object when calling
    findSourceMap().
    
    PR-URL: #35915
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    bcoe authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    8d76db8 View commit details
    Browse the repository at this point in the history
  22. domain: refactor to use more primordials

    PR-URL: #35885
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    9d26c4d View commit details
    Browse the repository at this point in the history
  23. tools,doc: enable ecmaVersion 2021 in acorn parser

    PR-URL: #35994
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Derek Lewis <DerekNonGeneric@inf.is>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    da3c2ab View commit details
    Browse the repository at this point in the history
  24. benchmark: ignore build artifacts for napi addons

    Add `.gitignore` to ignore the `build` directory in a similar way
    to the other addons under `benchmark/napi`.
    
    PR-URL: #35970
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    richardlau authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    9d9a044 View commit details
    Browse the repository at this point in the history
  25. fs: remove unused assignment

    PR-URL: #35882
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Trott authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    6011bfd View commit details
    Browse the repository at this point in the history
  26. tools: add new ESLint rule: prefer-primordials

    I added a new custom ESLint rule to fix these problems.
    
    We have a lot of replaceable codes with primordials.
    Accessing built-in objects is restricted by existing rule
    (no-restricted-globals), but accessing property in the built-in objects
    is not restricted right now. We manually review codes that can be
    replaced by primordials, but there's a lot of code that actually needs
    to be fixed. We have often made pull requests to replace the primordials
    with.
    
    Restrict accessing global built-in objects such as `Promise`.
    Restrict calling static methods such as `Array.from` or `Symbol.for`.
    Don't restrict prototype methods to prevent false-positive.
    
    PR-URL: #35448
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Ben Coe <bencoe@gmail.com>
    Leko authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    1f27214 View commit details
    Browse the repository at this point in the history
  27. tools: don't print gold linker warning w/o flag

    Currently warning is printed called even if the selection ordering flag
    has not been passed.
    
    Only print warning if `--limit-configure-section-file`
    has been passed to configure.
    
    Fixes: #35872
    
    PR-URL: #35955
    Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    MylesBorins authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    a7350b3 View commit details
    Browse the repository at this point in the history
  28. win, build: fix build time on Windows

    Sets MSBuild experimental switches to make it build in parallel project
    files generated by gyp 0.5.0.
    
    Fixes: #35921
    
    PR-URL: #35932
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    bzoz authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    7a2edea View commit details
    Browse the repository at this point in the history
  29. events: define event handler as enumerable

    PR-URL: #35931
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    33e2ee5 View commit details
    Browse the repository at this point in the history
  30. events: support event handlers on prototypes

    PR-URL: #35931
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    ab0eb4f View commit details
    Browse the repository at this point in the history
  31. events: define abort on prototype

    PR-URL: #35931
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    ff59fcd View commit details
    Browse the repository at this point in the history
  32. events: fire handlers in correct oder

    PR-URL: #35931
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    9e67372 View commit details
    Browse the repository at this point in the history
  33. fs: remove unnecessary Function#bind() in fs/promises

    PR-URL: #35208
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Masashi Hirano <shisama07@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    bnoordhuis authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    ccbe267 View commit details
    Browse the repository at this point in the history
  34. doc,crypto: added sign/verify method changes about dsaEncoding

    PR-URL: #35480
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Tobias Nießen <tniessen@tnie.de>
    panva authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    9c4b360 View commit details
    Browse the repository at this point in the history
  35. doc: fix crypto doc linter errors

    PR-URL: #36035
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    06cc400 View commit details
    Browse the repository at this point in the history
  36. http2: move events to the JSStreamSocket

    When using a JSStreamSocket, the
    HTTP2Session constructor will replace
    the socket object
    http2 events should be attached to the
    JSStreamSocket object because the http2
    session handle lives there
    
    Fixes: #35695
    
    PR-URL: #35772
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Momtchil Momtchev authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    429113e View commit details
    Browse the repository at this point in the history
  37. http2: centralise socket event binding in Http2Session

    Move the socket event binding to the
    HTTP2Session constructor so that an error
    event could be delivered should the
    constructor fail
    
    Ref: #35772
    
    PR-URL: #35772
    Fixes: #35695
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Ricky Zhou <0x19951125@gmail.com>
    Momtchil Momtchev authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    28ed7d0 View commit details
    Browse the repository at this point in the history
  38. stream: remove isPromise utility function

    The function was not checking if the parameter was actually a Promise
    instance, but if it has a `then` method. Removing the utility function
    in favor of a clearer `typeof` check, handling the case when the
    thenable throws if then method is accessed more than once.
    
    PR-URL: #35925
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    b7aa5e2 View commit details
    Browse the repository at this point in the history
  39. events: getEventListeners static

    PR-URL: #35991
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    benjamingr authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    567f8d8 View commit details
    Browse the repository at this point in the history
  40. timers: cleanup abort listener on awaitable timers

    Co-authored-by: Benjamin Gruenbaum <benjamingr@gmail.com>
    Signed-off-by: James M Snell <jasnell@gmail.com>
    
    PR-URL: #36006
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    jasnell authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    77e4f19 View commit details
    Browse the repository at this point in the history
  41. lib: add %TypedArray% abstract constructor to primordials

    Refs: #35448
    Refs: #36003
    Refs: https://tc39.es/ecma262/#sec-%typedarray%-intrinsic-object
    
    Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
    
    PR-URL: #36016
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    ExE-Boss authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    af2a560 View commit details
    Browse the repository at this point in the history
  42. deps: cherry-pick 9a49b22 from V8 upstream

    Original commit message:
      Fix alloc/dealloc size mismatch for v8::BackingStore
    
      On newer compilers the {operator delete} with explicit {size_t}
      argument would be instantiated for {v8::BackingStore} and used
      in the destructor of {std::unique_ptr<v8::BackingStore>}. The {size_t}
      argument is wrong though, since the pointer actually points
      to a {v8::internal::BackingStore} object.
      The solution is to explicitly provide a {operator delete}, preventing
      an implicitly generated {size_t} operator.
    
      Bug:v8:11081
    
      Change-Id: Iee0aa47a67f0e41000bea628942f7e3d70198b83
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2506712
      Commit-Queue: Ulan Degenbaev <ulan@chromium.org>
      Reviewed-by: Camillo Bruni <cbruni@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#70916}
    
    PR-URL: #35939
    Fixes: #35669
    Refs: v8/v8@9a49b22
    Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Richard Lau <rlau@redhat.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Gus Caplan <me@gus.host>
    danbev authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    7cb5c09 View commit details
    Browse the repository at this point in the history
  43. dns: fix trace_events name for resolveCaa()

    A test was added for this in 6f34498 but because it was a test in the
    `internet` directory, it was not run on CI and it was not noticed that
    the test was failing. This fixes the error that was causing the test to
    fail.
    
    PR-URL: #35979
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Trott authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    4b03670 View commit details
    Browse the repository at this point in the history
  44. tools,lib: tighten prefer-primordials rules for Error statics

    PR-URL: #36017
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    eea7e3b View commit details
    Browse the repository at this point in the history
  45. doc,fs: document value of stats.isDirectory on symbolic links

    PR-URL: #27413
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    coderaiser authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    85cf305 View commit details
    Browse the repository at this point in the history
  46. doc: advise users to import the full set of trusted release keys

    PR-URL: #32655
    Fixes: #32559
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Myles Borins <myles.borins@gmail.com>
    haqer1 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    99cb362 View commit details
    Browse the repository at this point in the history
  47. doc,net: document socket.timeout

    PR-URL: #34543
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
    Reviewed-By: Harshitha K P <harshitha014@gmail.com>
    Reviewed-By: Pranshu Srivastava <rexagod@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Denys Otrishko <shishugi@gmail.com>
    kobelb authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    d6bd78f View commit details
    Browse the repository at this point in the history
  48. doc: add note regarding file structure in src/README.md

    Refs: #34944 (comment)
    Co-authored-by: Anna Henningsen <anna@addaleax.net>
    
    PR-URL: #35000
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
    Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
    lundibundi authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    71fa9c6 View commit details
    Browse the repository at this point in the history
  49. http2: add has method to proxySocketHandler

    PR-URL: #35197
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    masx200 authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    11f5924 View commit details
    Browse the repository at this point in the history
  50. doc,stream: write(chunk, encoding, cb) encoding can be null

    In stream write encoding can be null.
    
    Fixes: #33715
    
    PR-URL: #35372
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    dev-script authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    36c20d9 View commit details
    Browse the repository at this point in the history
  51. test: improve error message for policy failures

    PR-URL: #35633
    Fixes: #35600
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: James M Snell <jasnell@gmail.com>
    bmeck authored and danielleadams committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    f73b8d8 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. bootstrap: refactor to use more primordials

    PR-URL: #35999
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Khaidi Chu <i@2333.moe>
    aduh95 authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    292915a View commit details
    Browse the repository at this point in the history
  2. test: use global.EventTarget instead of internals

    `EventTarget` is exposed on the global scope, there is no need to use
    `--expose-internals` flag in the tests.
    
    Refs: #35496
    
    PR-URL: #36002
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    aduh95 authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    0a4c96a View commit details
    Browse the repository at this point in the history
  3. fs: replace finally with PromisePrototypeFinally

    #35993 (comment)
    
    PR-URL: #35995
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    baruchiro authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    7ef9c70 View commit details
    Browse the repository at this point in the history
  4. module: refactor to use more primordials

    PR-URL: #36024
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    aduh95 authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    7a37590 View commit details
    Browse the repository at this point in the history
  5. tools,lib: recommend using safe primordials

    Make the linter recommend replacing `globalThis.Map` by
    `primordials.SafeMap`, and similar for `Set`, `WeakSet`, and `WeakMap`.
    
    PR-URL: #36026
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
    aduh95 authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    f8098c3 View commit details
    Browse the repository at this point in the history
  6. build: fix zlib inlining for IA-32

    PR-URL: #35679
    Fixes: #35629
    Reviewed-By: Anna Henningsen <anna@addaleax.net>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    RaisinTen authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    10c9ea7 View commit details
    Browse the repository at this point in the history
  7. crypto: refactor to use more primordials

    PR-URL: #36012
    Reviewed-By: James M Snell <jasnell@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    aduh95 authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    0d74226 View commit details
    Browse the repository at this point in the history
  8. stream: writableNeedDrain

    Don't write to a stream which already has a full buffer.
    
    Fixes: #35341
    
    PR-URL: #35348
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    ronag authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    359a659 View commit details
    Browse the repository at this point in the history
  9. build, tools: look for local installation of NASM

    Search the default installation path for NASM installed by a user
    without administrator privileges when not found on the Path or in
    the default system-wide installation path.
    
    PR-URL: #36014
    Reviewed-By: Zeyu Yang <himself65@outlook.com>
    Reviewed-By: Michael Dawson <midawson@redhat.com>
    richardlau authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    6ac9c8f View commit details
    Browse the repository at this point in the history
  10. doc: move v8.getHeapCodeStatistics()

    Move v8.getHeapCodeStatistics() to its alphabetic location in the docs.
    An effort to alphabetize all the entries met some resistance on the
    grounds that it put some things in an order that wasn't logical, but
    this one should be uncontroversial, I think.
    
    PR-URL: #36027
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Trott authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    923276c View commit details
    Browse the repository at this point in the history
  11. test: fix races in test-performance-eventlooputil

    Fix two races in test-performance-eventlooputil resulting in a flaky
    test.
    
    elu1 was capture after start time t from spin look. If OS descides to
    reschedule the process after capturing t but before getting elu for
    >=50ms the spin loop is actually a nop. elu1 doesn't show this and as
    a result elut3 = eventLoopUtilization(elu1) results in
    elu3.active === 0.
    Moving capturing of t after capturing t, just before the spin look
    avoids this.
    
    Similar if OS decides to shedule a different process between getting
    the total elu from start and the diff elu showing the spin loop the
    check to verify that total active time is long then the spin loop
    fails.
    Exchanging these statements avoids this race.
    
    PR-URL: #36028
    Fixes: #35309
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Flarna authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    fdae9ad View commit details
    Browse the repository at this point in the history
  12. doc: escape asterisk in cctest gtest-filter

    PR-URL: #36034
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    RaisinTen authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    dcb2760 View commit details
    Browse the repository at this point in the history
  13. fs: support abortsignal in writeFile

    PR-URL: #35993
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    benjamingr authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    ccf9f0e View commit details
    Browse the repository at this point in the history
  14. stream: fix thrown object reference

    PR-URL: #36065
    Reviewed-By: Robert Nagy <ronagy@icloud.com>
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
    Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
    Reviewed-By: Rich Trott <rtrott@gmail.com>
    Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
    kanongil authored and danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    9774b4c View commit details
    Browse the repository at this point in the history
  15. 2020-11-10, Version 15.2.0 (Current)

    Notable changes:
    
    * events:
      * getEventListeners static (Benjamin Gruenbaum) (#35991)
    * fs:
      * support abortsignal in writeFile (Benjamin Gruenbaum) (#35993)
      * add support for AbortSignal in readFile (Benjamin Gruenbaum) (#35911)
    * stream:
      * fix thrown object reference (Gil Pedersen) (#36065)
    
    PR URL: #36055
    danielleadams committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    5ecd1c9 View commit details
    Browse the repository at this point in the history