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

src: refacor MallocedBuffer to it's usage scope #23641

Closed
wants to merge 19 commits into from

Commits on Oct 13, 2018

  1. deps: cherry-pick b0af309 from upstream V8

    Original commit message:
    
        [api] Remove deprecated wasm methods
    
        These methods were deprecated in 7.0, now we can remove them.
    
        [email protected]
    
        Bug: v8:7868
        Cq-Include-Trybots: luci.chromium.try:linux_chromium_rel_ng
        Change-Id: I60badb378a055152bdd27aed67d11ddf74fce174
        Reviewed-on: https://chromium-review.googlesource.com/1209283
        Reviewed-by: Adam Klein <[email protected]>
        Commit-Queue: Clemens Hammacher <[email protected]>
        Cr-Commit-Position: refs/heads/master@{nodejs#55695}
    
    Refs: v8/v8@b0af309
    
    PR-URL: nodejs#23415
    Reviewed-By: Refael Ackermann <[email protected]>
    Reviewed-By: Rich Trott <[email protected]>
    Reviewed-By: Joyee Cheung <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Michaël Zasso <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Anna Henningsen committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    3ab4146 View commit details
    Browse the repository at this point in the history
  2. lib: migrate to getOptions in loaders.js

    PR-URL: nodejs#23455
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Gus Caplan <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    rxiayth authored and addaleax committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    849aa1e View commit details
    Browse the repository at this point in the history
  3. test: improve test coverage for fs module

    Covering the case when fs-read get invalid argument for file handle
    
    PR-URL: nodejs#23601
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    leomoreno authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    c24e963 View commit details
    Browse the repository at this point in the history
  4. src: reduce platform worker barrier lifetime

    Minor cleanup in the lifetime for the platform worker initialization
    synchronization barrier.
    
    PR-URL: nodejs#23419
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: Benjamin Gruenbaum <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    Reviewed-By: Ben Noordhuis <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Denys Otrishko <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    ofrobots committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    9f7e3a4 View commit details
    Browse the repository at this point in the history
  5. test: fix assert.strictEqual arguments in test/parallel/test-c-ares.js

    When using `assert.strictEqual`, the first argument must be the actual
    value and the second argument must be the expected value.
    
    PR-URL: nodejs#23448
    Reviewed-By: Ruben Bridgewater <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    jungkumseok authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    64d65ed View commit details
    Browse the repository at this point in the history
  6. repl: remove unused variable e from try catch

    PR-URL: nodejs#23449
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Beth Griggs <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    khalidadil authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    f0c5c96 View commit details
    Browse the repository at this point in the history
  7. test: fix order of values in test assertions

    Have actual first, expected second.
    
    PR-URL: nodejs#23450
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Tobias Nießen <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    jehaines authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    478fe0a View commit details
    Browse the repository at this point in the history
  8. test: fix http local address test assertion

    Reverse the argument for assertion. The first argument should be the
    actual value and the second value should be the expected value. When
    there is an AssertionError, the expected and actual value will be
    labeled correctly.
    
    PR-URL: nodejs#23451
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    widatama authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    dee9d27 View commit details
    Browse the repository at this point in the history
  9. repl: remove unused variable from try catch

    Catch statement defines err variable that is never used, so it
    is safe to remove that.
    
    PR-URL: nodejs#23452
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    mmisiarek authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    c301518 View commit details
    Browse the repository at this point in the history
  10. test: replace assert.throws w/ common.expectsError

    Converts RangeError assertions to use common.expectsError and includes
    an assertion for the error code.
    
    PR-URL: nodejs#23454
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Trivikram Kamat <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    aeisenberg authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    0005846 View commit details
    Browse the repository at this point in the history
  11. test: strictEqual correct order for http-information-processing test

    PR-URL: nodejs#23456
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    ivansieder authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    84b21eb View commit details
    Browse the repository at this point in the history
  12. test: fix assert.strictEqual argument order

    PR-URL: nodejs#23457
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    andy-ganchrow authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    a239270 View commit details
    Browse the repository at this point in the history
  13. lib: remove unused 'e' from catch

    PR-URL: nodejs#23458
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Hitesh Kanwathirtha <[email protected]>
    Reviewed-By: Anna Henningsen <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    pdxmholmes authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    68b4637 View commit details
    Browse the repository at this point in the history
  14. test: swap assert.strictEqual args to actual, expected

    PR-URL: nodejs#23459
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    epeden authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    767d4da View commit details
    Browse the repository at this point in the history
  15. test: fix incorrect ordering of args in assert.strictEqual()

    PR-URL: nodejs#23461
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    mdaum authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    657ee7b View commit details
    Browse the repository at this point in the history
  16. test: correct assert test

    PR-URL: nodejs#23463
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    rmarkins-godaddy authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    1c73990 View commit details
    Browse the repository at this point in the history
  17. test: remove unused e variable in catch statement

    PR-URL: nodejs#23465
    Reviewed-By: Colin Ihrig <[email protected]>
    Reviewed-By: James M Snell <[email protected]>
    Reviewed-By: Gireesh Punathil <[email protected]>
    Reviewed-By: Sakthipriyan Vairamani <[email protected]>
    DennyScott authored and Trott committed Oct 13, 2018
    Configuration menu
    Copy the full SHA
    8691d8f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d16f098 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    5837d36 View commit details
    Browse the repository at this point in the history