Introduce CSPViolation as pause reason (V8)
This CL adds the CSPViolation pause reason. Such an enum will be used to enable breakpoints on Trusted Type violations. Design doc: https://docs.google.com/document/d/1rlRtq_Ai0leS9sqlRvoOL5RNc1BR6Q1yAVvLLJFasMA/ Frontend CL: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2520827 Follow-up CL: https://chromium-review.googlesource.com/c/chromium/src/+/2517519 Bug: chromium:1142804 Change-Id: Iefdbb52115d0ba1810527773a8a2828e795fe533 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2519513 Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org> Reviewed-by: Sigurd Schneider <sigurds@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Commit-Queue: Alfonso Castaño <alcastano@google.com> Cr-Commit-Position: refs/heads/master@{#71172}
This commit is contained in:
parent
789342d886
commit
9ec952d765
@ -508,6 +508,7 @@ domain Debugger
|
||||
enum reason
|
||||
ambiguous
|
||||
assert
|
||||
CSPViolation
|
||||
debugCommand
|
||||
DOM
|
||||
EventListener
|
||||
|
@ -715,6 +715,7 @@ class DebugWrapper {
|
||||
case "EventListener":
|
||||
case "assert":
|
||||
case "debugCommand":
|
||||
case "CSPViolation":
|
||||
assertUnreachable();
|
||||
default:
|
||||
assertUnreachable();
|
||||
|
Loading…
Reference in New Issue
Block a user