LiteralBuffer::ExpandBuffer always grows

Upstream: https://chromium-review.googlesource.com/c/1405859

Bug: 168041375
Test: atest proxy_resolver_v8_unittest
Change-Id: I63dc386af7bebeaa217b864cd1931af79f75c53e
(cherry picked from commit 05cbe2825f00470860200896b20960b66e2549ee)
2 files changed
tree: 9b09def9306b0a87421179ecf56f6c39d42466b3
  1. base/
  2. benchmarks/
  3. build_overrides/
  4. custom_deps/
  5. docs/
  6. gni/
  7. gnparser/
  8. gypfiles/
  9. include/
  10. infra/
  11. samples/
  12. src/
  13. testing/
  14. third_party/
  15. tools/
  16. .clang-format
  17. .gitignore
  18. .gn
  19. .landmines
  20. .ycm_extra_conf.py
  21. Android.base.bp
  22. Android.bp
  23. Android.platform.bp
  24. Android.sampler.bp
  25. Android.v8.bp
  26. Android.v8gen.bp
  27. AUTHORS
  28. BUILD.gn
  29. ChangeLog
  30. CODE_OF_CONDUCT.md
  31. codereview.settings
  32. DEPS
  33. genmakefiles.py
  34. LICENSE
  35. LICENSE.fdlibm
  36. LICENSE.strongtalk
  37. LICENSE.v8
  38. LICENSE.valgrind
  39. Makefile
  40. Makefile.android
  41. merge.py
  42. MODULE_LICENSE_BSD
  43. NOTICE
  44. OWNERS
  45. OWNERS.android
  46. PRESUBMIT.py
  47. README.md
  48. snapshot_toolchain.gni
  49. V8_MERGE_REVISION
  50. WATCHLISTS
README.md

V8 JavaScript Engine

V8 is Google's open source JavaScript engine.

V8 implements ECMAScript as specified in ECMA-262.

V8 is written in C++ and is used in Google Chrome, the open source browser from Google.

V8 can run standalone, or can be embedded into any C++ application.

V8 Project page: https://github.com/v8/v8/wiki

Getting the Code

Checkout depot tools, and run

    fetch v8

This will checkout V8 into the directory v8 and fetch all of its dependencies. To stay up to date, run

    git pull origin
    gclient sync

For fetching all branches, add the following into your remote configuration in .git/config:

    fetch = +refs/branch-heads/*:refs/remotes/branch-heads/*
    fetch = +refs/tags/*:refs/tags/*

Contributing

Please follow the instructions mentioned on the V8 wiki.