| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
IPC: antonio...@chromium.org
📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).
IPC reviewer(s): antonio...@chromium.org
Reviewer source(s):
antonio...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
(async function(/** @type {import('test_runner').TestRunner} */ testRunner) {
const {dp} = await testRunner.startHTML(
`
<form id="my_form" toolname="declarative_tool" tooldescription="A declarative WebMCP tool" action="some_action.html">
<input type="text" name="text">
<input type="submit">
</form>
<script>
window.executeDeclarative = async function() {
await navigator.modelContextTesting.executeTool("declarative_tool", JSON.stringify({text: "hello"}));
};
</script>
`,
'Tests that declarative tool execution does not crash.');
await dp.WebMCP.enable();
testRunner.log('Executing declarative tool...');
const executePromise = dp.Runtime.evaluate({expression: 'window.executeDeclarative()', awaitPromise: true});
// Submit the form to unblock the execution.
await dp.Runtime.evaluate({expression: 'document.querySelector("input[type=submit]").click()'});
await executePromise;
testRunner.completeTest();
});(nit) can you make the long lines fit in 80 chars?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
(async function(/** @type {import('test_runner').TestRunner} */ testRunner) {
const {dp} = await testRunner.startHTML(
`
<form id="my_form" toolname="declarative_tool" tooldescription="A declarative WebMCP tool" action="some_action.html">
<input type="text" name="text">
<input type="submit">
</form>
<script>
window.executeDeclarative = async function() {
await navigator.modelContextTesting.executeTool("declarative_tool", JSON.stringify({text: "hello"}));
};
</script>
`,
'Tests that declarative tool execution does not crash.');
await dp.WebMCP.enable();
testRunner.log('Executing declarative tool...');
const executePromise = dp.Runtime.evaluate({expression: 'window.executeDeclarative()', awaitPromise: true});
// Submit the form to unblock the execution.
await dp.Runtime.evaluate({expression: 'document.querySelector("input[type=submit]").click()'});
await executePromise;
testRunner.completeTest();
});(nit) can you make the long lines fit in 80 chars?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |