[DO NOT MERGE] Fix OOB read in v8's Promise handling

Bug: 138441919
Test: m -j proxy_resolver_v8_unittest && adb sync && adb shell \
      /data/nativetest/proxy_resolver_v8_unittest/proxy_resolver_v8_unittest

Change-Id: I3d9ffb76317f94ee486fbab8712a673d807a0653
(cherry picked from commit 1d4f1378628c425b2e03a22b5ea1c27f3af7f8c3)
1 file changed
tree: d4eca826d7dfce97b23537137397e5be4450d16c
  1. base/
  2. benchmarks/
  3. build_overrides/
  4. docs/
  5. gni/
  6. gypfiles/
  7. include/
  8. infra/
  9. samples/
  10. src/
  11. testing/
  12. tools/
  13. .clang-format
  14. .gitignore
  15. .gn
  16. .landmines
  17. .ycm_extra_conf.py
  18. AUTHORS
  19. Android.base.mk
  20. Android.d8.mk
  21. Android.libv8.mk
  22. Android.mk
  23. Android.mkpeephole.mk
  24. Android.platform.mk
  25. Android.sampler.mk
  26. Android.v8.mk
  27. Android.v8common.mk
  28. Android.v8gen.mk
  29. BUILD.gn
  30. CODE_OF_CONDUCT.md
  31. ChangeLog
  32. DEPS
  33. LICENSE
  34. LICENSE.fdlibm
  35. LICENSE.strongtalk
  36. LICENSE.v8
  37. LICENSE.valgrind
  38. MODULE_LICENSE_BSD
  39. Makefile
  40. Makefile.android
  41. NOTICE
  42. OWNERS
  43. PRESUBMIT.py
  44. README.md
  45. V8_MERGE_REVISION
  46. WATCHLISTS
  47. codereview.settings
  48. genmakefiles.py
  49. merge.py
  50. snapshot_toolchain.gni
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.