chromedevtools--chrome-devtools-mcp
9a7e04daa2
Bumps the bundled-devtools group with 1 update in the / directory: [chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend). Updates `chrome-devtools-frontend` from 1.0.1652307 to 1.0.1656897 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/a5ae2f34eb11c5c58a460e6930b6bce270a3121b"><code>a5ae2f3</code></a> Use lit-html in ServiceWorkersView.ts</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/251a23abd90438b2f2bb33961e894fe0b4452057"><code>251a23a</code></a> Refactor ElementsPanel dependency injection and clean up DOMModel.cancelSearch</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/8382f01f7b9644b98beb1fa335fac9f511f16139"><code>8382f01</code></a> [global-state] Fix FrameManager access in DOMNode</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/78704b2ecc77051877bd7f805eed1bf6f88d0ff9"><code>78704b2</code></a> [Sheriff]: Fix a couple of flaky tests.</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/8b198ec693b44abe00d41a5bca65639bda55180b"><code>8b198ec</code></a> Roll browser-protocol and CfT</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/430a8bdfa2c06e2f4e974f0dade1e0cfd8bf4e88"><code>430a8bd</code></a> [global-state] Remove static instance from SimpleAppProvider</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/137dae29bacbf164674a578eb5592cb12308e141"><code>137dae2</code></a> [global-state] Stash CrUXManager on DevToolsContext and add to universe</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/4f881fd9caf41e7416b03397892c17e3e9f93d0a"><code>4f881fd</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/d46071e5459a66871e38b89ac11d5573ad2ed4fb"><code>d46071e</code></a> Make SourceMapCache instantiable instead of a singleton</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/466be4a9e6a4db8867f8c04e034d3383f624d99f"><code>466be4a</code></a> Roll browser-protocol and CfT</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1652307...v1.0.1656897">compare view</a></li> </ul> </details> <br /> --------- Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nikolay Vitkov <nvitkov@chromium.org>
175 行
6.4 KiB
Plaintext
175 行
6.4 KiB
Plaintext
exports[`console > captures logs and errors from extension service worker 1`] = `
|
|
## Console messages
|
|
Showing 1-3 of 3 (Page 1 of 1).
|
|
msgid=1 [log] Service Worker starting... (1 args)
|
|
msgid=2 [warn] This is a warning from Service Worker (1 args)
|
|
msgid=3 [error] Uncaught Error: Intentional error from Service Worker (0 args)
|
|
`;
|
|
|
|
exports[`console > get_console_message > applies source maps to stack traces of Error object (with cause) console.log arguments 1`] = `
|
|
ID: 1
|
|
Message: log> foo failed Error: bar failed
|
|
### Arguments
|
|
Arg #0: foo failed
|
|
Arg #1: Error: bar failed
|
|
at foo (main.js:10:11)
|
|
at Iife (main.js:16:5)
|
|
at <anonymous> (main.js:14:1)
|
|
Caused by: Error: b00m!
|
|
at bar (main.js:3:9)
|
|
at foo (main.js:8:5)
|
|
at Iife (main.js:16:5)
|
|
at <anonymous> (main.js:14:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
### Stack trace
|
|
at Iife (main.js:18:13)
|
|
at <anonymous> (main.js:14:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
`;
|
|
|
|
exports[`console > get_console_message > applies source maps to stack traces of Error object console.log arguments 1`] = `
|
|
ID: 1
|
|
Message: log> An error happened: Error: b00m!
|
|
### Arguments
|
|
Arg #0: An error happened:
|
|
Arg #1: Error: b00m!
|
|
at bar (main.js:3:9)
|
|
at foo (main.js:7:3)
|
|
at Iife (main.js:12:5)
|
|
at <anonymous> (main.js:10:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
### Stack trace
|
|
at Iife (main.js:14:13)
|
|
at <anonymous> (main.js:10:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
`;
|
|
|
|
exports[`console > get_console_message > applies source maps to stack traces of console messages 1`] = `
|
|
ID: 1
|
|
Message: warn> hello world
|
|
### Arguments
|
|
Arg #0: hello world
|
|
### Stack trace
|
|
at bar (main.js:3:11)
|
|
at foo (main.js:7:3)
|
|
at Iife (main.js:11:3)
|
|
at <anonymous> (main.js:10:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
`;
|
|
|
|
exports[`console > get_console_message > applies source maps to stack traces of uncaught exceptions 1`] = `
|
|
ID: 1
|
|
Message: error> Uncaught Error: b00m!
|
|
### Stack trace
|
|
at bar (main.js:3:9)
|
|
at foo (main.js:7:3)
|
|
at Iife (main.js:11:3)
|
|
at <anonymous> (main.js:10:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
`;
|
|
|
|
exports[`console > get_console_message > applies source maps to stack traces of uncaught exceptions with cause 1`] = `
|
|
ID: 1
|
|
Message: error> Uncaught Error: foo failed
|
|
### Stack trace
|
|
at Iife (main.js:18:11)
|
|
at <anonymous> (main.js:14:1)
|
|
Caused by: Error: bar failed
|
|
at foo (main.js:10:11)
|
|
at Iife (main.js:16:5)
|
|
at <anonymous> (main.js:14:1)
|
|
Caused by: Error: b00m!
|
|
at bar (main.js:3:9)
|
|
at foo (main.js:8:5)
|
|
at Iife (main.js:16:5)
|
|
at <anonymous> (main.js:14:1)
|
|
Note: line and column numbers use 1-based indexing
|
|
`;
|
|
|
|
exports[`console > get_console_message > ignores frames from ignore listed URLs 1`] = `
|
|
ID: 1
|
|
Message: log> hello from callback
|
|
### Arguments
|
|
Arg #0: hello from callback
|
|
### Stack trace
|
|
at callback ('main.js':3:21)
|
|
at callIt ('main.js':7:13)
|
|
at ('main.js':8:13)
|
|
Note: line and column numbers use 1-based indexing
|
|
`;
|
|
|
|
exports[`console > get_console_message > issues type > gets issue details with node id parsing 1`] = `
|
|
ID: 1
|
|
Message: issue> An element doesn't have an autocomplete attribute
|
|
|
|
A form field has an \`id\` or \`name\` attribute that the browser's autofill recognizes. However, it doesn't have an \`autocomplete\` attribute assigned. This might prevent the browser from correctly autofilling the form.
|
|
|
|
To fix this issue, provide an \`autocomplete\` attribute.
|
|
Learn more:
|
|
[HTML attribute: autocomplete](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#values)
|
|
### Affected resources
|
|
uid=1_1 data={"violatingNodeAttribute":"name"}
|
|
`;
|
|
|
|
exports[`console > get_console_message > issues type > gets issue details with request id parsing 1`] = `
|
|
ID: <ID>
|
|
Message: issue> Ensure CORS response header values are valid
|
|
|
|
A cross-origin resource sharing (CORS) request was blocked because of invalid or missing response headers of the request or the associated [preflight request](issueCorsPreflightRequest).
|
|
|
|
To fix this issue, ensure the response to the CORS request and/or the associated [preflight request](issueCorsPreflightRequest) are not missing headers and use valid header values.
|
|
|
|
Note that if an opaque response is sufficient, the request's mode can be set to \`no-cors\` to fetch the resource with CORS disabled; that way CORS headers are not required but the response content is inaccessible (opaque).
|
|
Learn more:
|
|
[Cross-Origin Resource Sharing (CORS)](https://web.dev/cross-origin-resource-sharing)
|
|
### Affected resources
|
|
reqid=<reqid> data={"corsErrorStatus":{"corsError":"PreflightMissingAllowOriginHeader","failedParameter":""},"isWarning":false,"request":{"url":"http://hostname:port/data.json"},"initiatorOrigin":"","clientSecurityState":{"initiatorIsSecureContext":false,"initiatorIPAddressSpace":"Loopback","localNetworkAccessRequestPolicy":"BlockFromInsecureToMorePrivate"}}
|
|
`;
|
|
|
|
exports[`console > get_console_message > when dialog is open 1`] = `
|
|
{
|
|
"dialog": {
|
|
"type": "alert",
|
|
"message": "test dialog",
|
|
"defaultValue": ""
|
|
},
|
|
"consoleMessage": {
|
|
"id": 1,
|
|
"type": "error",
|
|
"text": "This is an error",
|
|
"argsCount": 1,
|
|
"args": [
|
|
"This is an error"
|
|
],
|
|
"stackTrace": "at (VM7:1:9)\\nat (pptr:;CdpFrame.%3Canonymous%3E%20(<file-path>)\\n--- PendingScript ----------------------\\nat (pptr:;CdpFrame.%3Canonymous%3E%20(<file-path>)\\nNote: line and column numbers use 1-based indexing"
|
|
},
|
|
"pagination": {
|
|
"currentPage": 0,
|
|
"totalPages": 1,
|
|
"hasNextPage": false,
|
|
"hasPreviousPage": false,
|
|
"startIndex": 0,
|
|
"endIndex": 1,
|
|
"invalidPage": false
|
|
},
|
|
"consoleMessages": [
|
|
{
|
|
"type": "error",
|
|
"text": "This is an error",
|
|
"argsCount": 1,
|
|
"id": 1
|
|
}
|
|
]
|
|
}
|
|
`;
|
|
|
|
exports[`console > list_console_messages > issues > when dialog is open 1`] = `
|
|
{"content":[{"type":"text","text":"# Open dialog\\nalert: test dialog.\\nCall handle_dialog to handle it before continuing.\\n## Console messages\\nShowing 1-1 of 1 (Page 1 of 1).\\nmsgid=1 [log] Pre-dialog message (1 args)"}],"structuredContent":{"dialog":{"type":"alert","message":"test dialog","defaultValue":""},"pagination":{"currentPage":0,"totalPages":1,"hasNextPage":false,"hasPreviousPage":false,"startIndex":0,"endIndex":1,"invalidPage":false},"consoleMessages":[{"type":"log","text":"Pre-dialog message","argsCount":1,"id":1}]}}
|
|
`;
|
|
|
|
exports[`console > list_console_messages > lists error objects 1`] = `
|
|
## Console messages
|
|
Showing 1-1 of 1 (Page 1 of 1).
|
|
msgid=1 [error] Error: This is an error (1 args)
|
|
`;
|