Compare commits

..

3 Commits

Author SHA1 Message Date
lilleman 3a9c684f5e Expect WebKit's plain-http cross-origin-isolation warning in the console guard
CI / full-gate (push) Successful in 4m23s
2026-11-08 23:17:32 +01:00
renovate-bot 67f1c88b21 Update Playwright to v1.65.0 2026-11-08 23:17:32 +01:00
renovate-bot 58f85baa8f Update dependency ejs to v7
CI / full-gate (push) Successful in 3m44s
Mirror / github-mirror (push) Successful in 4s
Release-Bump: major
2026-11-08 23:04:31 +01:00
3 changed files with 12 additions and 8 deletions
+7 -3
View File
@@ -12,10 +12,14 @@ import { expect, test as base, type BrowserContext, type Page } from "@playwrigh
const problems: string[] = []; const problems: string[] = [];
const allowed: RegExp[] = []; const allowed: RegExp[] = [];
// The one message the stack itself provokes: the runner reaches `web`/`proxy` by container name over // The messages the stack itself provokes: the runner reaches `web`/`proxy` by container name over
// plain http, and only a `localhost` origin is trustworthy without TLS — so Chromium drops the COOP // plain http, and only a `localhost` origin is trustworthy without TLS — so Chromium drops the COOP
// header the app sends and says so on every page. Over https, where a deployment serves, it applies. // header the app sends, and WebKit reports the page not cross-origin isolated, on every page. Over
const EXPECTED = [/^console\.error: The Cross-Origin-Opener-Policy header has been ignored/]; // https, where a deployment serves, the header applies.
const EXPECTED = [
/^console\.error: The Cross-Origin-Opener-Policy header has been ignored/,
/^console\.warning: This document is not cross-origin isolated because the document is not a secure context/,
];
// Allow a message for the current test only, when the page under test provokes it on purpose. // Allow a message for the current test only, when the page under test provokes it on purpose.
export function allowConsole(...patterns: RegExp[]): void { export function allowConsole(...patterns: RegExp[]): void {
+4 -4
View File
@@ -7,7 +7,7 @@
"name": "plainpages", "name": "plainpages",
"dependencies": { "dependencies": {
"@larvit/log": "2.3.0", "@larvit/log": "2.3.0",
"ejs": "6.0.1", "ejs": "7.0.2",
"lucide-static": "1.70.0", "lucide-static": "1.70.0",
"postgres": "3.4.9" "postgres": "3.4.9"
}, },
@@ -409,9 +409,9 @@
} }
}, },
"node_modules/ejs": { "node_modules/ejs": {
"version": "6.0.1", "version": "7.0.2",
"resolved": "https://registry.npmjs.org/ejs/-/ejs-6.0.1.tgz", "resolved": "https://registry.npmjs.org/ejs/-/ejs-7.0.2.tgz",
"integrity": "sha512-UaaM14yby8U3k02ihS1Bmj5Kz2d7CCQM1scxpgs4Mhkq8F1wR2gl3+Ts4h5Ne4Mnt7M9m4Dw7jsuMr3+xO4vZA==", "integrity": "sha512-LcDSEP6Oclb9sTiSyG0MpG0RuKvLDRxCOOt+2sIk+kdk1rMkFU8SRnT0qaNt5zvU0LOV1YXXOvIoZL/sKwabvw==",
"license": "Apache-2.0", "license": "Apache-2.0",
"bin": { "bin": {
"ejs": "bin/cli.js" "ejs": "bin/cli.js"
+1 -1
View File
@@ -17,7 +17,7 @@
}, },
"dependencies": { "dependencies": {
"@larvit/log": "2.3.0", "@larvit/log": "2.3.0",
"ejs": "6.0.1", "ejs": "7.0.2",
"lucide-static": "1.70.0", "lucide-static": "1.70.0",
"postgres": "3.4.9" "postgres": "3.4.9"
}, },