v8/test
Bartek Nowierski 63dc55568b Add a debug v8 API SetDetachedWindowReason
A window is a Blink concept. This API marks the context as backing
a detached window. This doesn't necessarily mean that the context is
detached.

Every time a JS function is called within a context that has a non-zero
DetachedWindowReason, Runtime::kReportDetachedWindowAccess is invoked,
which will report this call to Blink via a callback, which in turn can
report number of such calls via UKM metrics.

Bug: chromium:1018156
Change-Id: I67c89fef459f4efcb912229eed8a4f3ea3b60f54
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1862829
Auto-Submit: Bartek Nowierski <bartekn@chromium.org>
Commit-Queue: Bartek Nowierski <bartekn@chromium.org>
Reviewed-by: Georg Neis <neis@chromium.org>
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Reviewed-by: Ulan Degenbaev <ulan@chromium.org>
Reviewed-by: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64707}
2019-11-01 00:57:40 +00:00
..
benchmarks Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
cctest Add a debug v8 API SetDetachedWindowReason 2019-11-01 00:57:40 +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 [wasm] Report module name if available 2019-10-31 20:32:31 +00:00
intl Roll to ICU 65.1 2019-10-31 17:13:46 +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 [compiler] Force all calls to JS builtins to be lowered 2019-10-31 17:05:40 +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 [wasm] Report module name if available 2019-10-31 20:32:31 +00:00
wasm-api-tests Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
wasm-js [wasm] update spec tests 2019-10-31 10:09:46 +00:00
wasm-spec-tests [wasm] update spec tests 2019-10-31 10:09:46 +00:00
webkit Remove 'embedded_builtins' variant 2019-10-22 12:58:02 +00:00
BUILD.gn Remove cctest dependency from v8_perf group 2019-10-31 14:09:29 +00:00
OWNERS Use relative paths to OWNERS files 2019-08-12 13:52:52 +00:00