v8/include
Peter Marshall f510c66b96 inspector: Add flag to Runtime.evaluate() for unsafe eval
evaluate() bypassed CSP for unsafe-eval by default. This is a useful
option for debugging clients, but is not always what we want.

e.g. in the devtools console we want to match the page's CSP settings
to make debugging CSP issues on the page easier.

Add a toggle that keeps the current behavior by default.

Bug: chromium:1084558
Change-Id: Ia01142d5be00f8ef5f65e5eeba17549efc6f9120
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2250245
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68432}
2020-06-19 10:24:20 +00:00
..
cppgc Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00
libplatform Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
APIDesign.md Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
DEPS heap,cppgc: Update StackState enum values 2020-05-12 12:07:27 +00:00
js_protocol-1.2.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol-1.3.json Move inspector protocol definitions to include/ 2019-06-18 17:59:36 +00:00
js_protocol.pdl inspector: Add flag to Runtime.evaluate() for unsafe eval 2020-06-19 10:24:20 +00:00
OWNERS [api] Add cbruni@ as api owner 2020-06-16 22:30:44 +00:00
v8-fast-api-calls.h [api] Avoid using v8::NewFromUtf8Lilteral if possible 2020-06-10 07:41:50 +00:00
v8-inspector-protocol.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-inspector.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-internal.h [sandbox][api] Introduce Internals::GetIsolateForHeapSandbox() 2020-05-13 09:42:00 +00:00
v8-platform.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-profiler.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-util.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-value-serializer-version.h Expose the ValueSerializer data format version as a compile-time constant. 2017-04-27 15:14:41 +00:00
v8-version-string.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-version.h Changed version number to 8.5 2020-05-15 11:04:29 +00:00
v8-wasm-trap-handler-posix.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8-wasm-trap-handler-win.h Fix LINT exceptions across the code base 2020-04-27 16:37:04 +00:00
v8.h [v8] Allow for 4GB TypedArrays 2020-06-19 06:52:21 +00:00
v8config.h Reland "cppgc: Properly clear (Weak)Peristent and WeakMember pointers" 2020-06-19 08:48:49 +00:00