| Commit-Queue | +1 |
PTAL -- this CL lets us stop sending scripts (as breakpoint conditions) accross the renderers by managing breakpoints on the browser side instead.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
struct V8_EXPORT URLBreakpoint {nit: consistent naming. Unfortunately, all of the inspector (even the API) uses `camelCase` 😞 Here and throughout the CL.
"dispatch, is_fully_trusted, embedder_breakpoints).");Why just the breakpoints here instead of a full object representing the embedder state? If we'd pass something like `{ url_breakpoints: [{...}, {...}], }` wouldn't that match what we do on the C++ v8-inspector.h side?
I assume we'll move more state to `EmbedderState` in the future?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
nit: consistent naming. Unfortunately, all of the inspector (even the API) uses `camelCase` 😞 Here and throughout the CL.
Done
Why just the breakpoints here instead of a full object representing the embedder state? If we'd pass something like `{ url_breakpoints: [{...}, {...}], }` wouldn't that match what we do on the C++ v8-inspector.h side?
I assume we'll move more state to `EmbedderState` in the future?
Yup, makes total sense, done! Re moving more state -- hopefully not. I'm a bit reluctant to move state management to the browser side in general, as it constitutes a layering violation and costs us quite a bit of extra code, so we plan on doing this as an exception only when required by security for now. The ultimate solution would be to leave state management to the client (but this is CDP 2.0).
For now, I don't see any other strings that are readily expoitable, although I wonder about regexps using for blackboxing a bit:
https://source.chromium.org/search?q=f:v8%2F.*%2Fv8.*agent-impl%20setstring&sq=&ss=chromium
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |