Skip to content

Commit bb0a432

Browse files
committed
refactor(headless.renderer): remove unused browser launch arguments
1 parent 189d822 commit bb0a432

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/mcp/src/renderer/headless.renderer.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ import {
1010
watchNetworkFailures,
1111
} from './page.session';
1212

13-
const BROWSER_LAUNCH_ARGS = [
14-
'--no-sandbox',
15-
'--disable-setuid-sandbox',
16-
'--disable-web-security',
17-
'--disable-features=IsolateOrigins,site-per-process',
18-
];
19-
2013
/** Renders a .qm file in a headless Chromium instance and returns a PNG buffer. */
2114
export async function renderWireframe(
2215
content: string,
@@ -51,7 +44,6 @@ async function withBrowser<T>(
5144
const browser = await puppeteer.launch({
5245
headless: true,
5346
executablePath,
54-
args: BROWSER_LAUNCH_ARGS,
5547
});
5648
try {
5749
return await fn(browser);

0 commit comments

Comments
 (0)