| 62 | import {getNetworkMultiplierFromString} from './WaitForHelper.js'; |
| 63 | |
| 64 | interface McpContextOptions { |
| 65 | // Whether the DevTools windows are exposed as pages for debugging of DevTools. |
| 66 | experimentalDevToolsDebugging: boolean; |
| 67 | // Whether all page-like targets are exposed as pages. |
| 68 | experimentalIncludeAllPages?: boolean; |
| 69 | // Whether CrUX data should be fetched. |
| 70 | performanceCrux: boolean; |
| 71 | // The allow list of URL patterns to allow loading resources. |
| 72 | allowList?: string[]; |
| 73 | // The block list of URL patterns to block loading resources. |
| 74 | blocklist?: string[]; |
| 75 | } |
| 76 | |
| 77 | const DEFAULT_TIMEOUT = 5_000; |
| 78 | const NAVIGATION_TIMEOUT = 10_000; |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…