We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38eea61 commit 576b51cCopy full SHA for 576b51c
1 file changed
src/BenchmarksApps/Lighthouse/src/blazor-scenario.js
@@ -24,7 +24,13 @@ logReadyStateText(); // Required by the Crank job
24
25
const browser = await puppeteer.launch({
26
headless: headless === 'true',
27
- args: ['--no-sandbox']
+ args: [
28
+ '--no-sandbox',
29
+ // Treat the target URL as a secure origin so that crypto.subtle is available.
30
+ // This is needed because Blazor WASM requires crypto.subtle, which is only
31
+ // available in secure contexts (HTTPS or localhost).
32
+ `--unsafely-treat-insecure-origin-as-secure=${targetBaseUrl}`,
33
+ ],
34
});
35
36
const pageUrl = `${targetBaseUrl}/counter`;
0 commit comments