Commit 9ec952d7 authored by Alfonso Castaño's avatar Alfonso Castaño Committed by Commit Bot

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/+/2519513Reviewed-by: 's avatarDaniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: 's avatarSigurd Schneider <sigurds@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Commit-Queue: Alfonso Castaño <alcastano@google.com>
Cr-Commit-Position: refs/heads/master@{#71172}
parent 789342d8
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment