deps: update to wabac 2.24.4 + wombat 3.10.0 (#464)
- additional fixes for new sync xhr system, support for deduping xhr cached resources - formatting pass
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
{
|
||||
"cleanUrls": false,
|
||||
"headers": [{
|
||||
"source": "*",
|
||||
"headers": [{
|
||||
"key": "Content-Security-Policy",
|
||||
"value": "default-src 'self' 'unsafe-inline' data: blob:"
|
||||
}]
|
||||
}]
|
||||
"headers": [
|
||||
{
|
||||
"source": "*",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Content-Security-Policy",
|
||||
"value": "default-src 'self' 'unsafe-inline' data: blob:"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -3,7 +3,9 @@ import { test, expect } from "@playwright/test";
|
||||
test("same-domain embed is loading", async ({ page }) => {
|
||||
page.on("response", async (response) => {
|
||||
if (response.url() === "http://localhost:9990/embed.html") {
|
||||
expect(await response.headerValue("Content-Security-Policy")).toBe("default-src 'self' 'unsafe-inline' data: blob:");
|
||||
expect(await response.headerValue("Content-Security-Policy")).toBe(
|
||||
"default-src 'self' 'unsafe-inline' data: blob:",
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user