v8/test
Anna Henningsen e5dbc95cc0 [api] Fix handle leak when getting Context embedder data
The `Context::SlowGetAlignedPointerFromEmbedderData()` method returns
a pointer, so the fact that it allocates handles is not obvious to
the caller.

Since this is the slow path anyway, simply add a handle scope inside
of it.

The tests are also modified to perform the same check for the
`Object` equivalent of this method.

Change-Id: I5f03c9a7b70b3a17315609df021606a53c9feb2d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1879902
Reviewed-by: Yang Guo <yangguo@chromium.org>
Commit-Queue: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64583}
2019-10-28 12:10:56 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest [api] Fix handle leak when getting Context embedder data 2019-10-28 12:10:56 +00:00
common [wasm] Rename {Get,Set}Global to Global{Get,Set} 2019-10-08 14:27:50 +00:00
debugger Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
fuzzer Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
inspector Reland "[wasm][debug] Report global scope also for compiled frames" 2019-10-25 08:56:57 +00:00
intl Update test/intl OWNERS 2019-10-22 17:29:36 +00:00
js-perf-test [js-perf-tests] Adds performance tests for BigInt subtraction 2019-10-22 13:32:09 +00:00
memory [owners] Remove redundant OWNERS files in test/ 2019-06-24 12:44:32 +00:00
message [regexp] Improve String.prototype.matchAll error message 2019-10-24 01:54:58 +00:00
mjsunit [ic] Correctly Handle global loads when global object has proxies 2019-10-28 10:51:51 +00:00
mkgrokdump Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
mozilla Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
preparser Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
test262 Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
torque [torque] fix formatting of union types 2019-10-24 10:05:25 +00:00
unittests [TurboProp] Remove the second schedule for TurboProp. 2019-10-24 10:08:35 +00:00
wasm-api-tests Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
wasm-js [wasm] Stage multi-value support 2019-10-22 13:49:52 +00:00
wasm-spec-tests [wasm] Stage multi-value support 2019-10-22 13:49:52 +00:00
webkit Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
BUILD.gn [wasm-c-api] Add tests and fixes 2019-05-28 09:57:04 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00