Skip to content

Commit 0a646e7

Browse files
committed
test(web): retain download permission for selection-enabled HTML
1 parent d6db44a commit 0a646e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/assets/AssetAccess.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ describe("AssetAccess", () => {
11511151
expect(bridged).toContain('href="style.css"');
11521152
expect(bridged).not.toContain("<base");
11531153
expect(assetResponseHeaders(filePath)["Content-Security-Policy"]).toBe(
1154-
"sandbox allow-scripts allow-forms allow-popups",
1154+
"sandbox allow-scripts allow-forms allow-popups allow-downloads",
11551155
);
11561156
expect(yield* resolve(urls[0]!, false)).toMatchObject({ kind: "file", path: filePath });
11571157
expect(yield* resolve(urls[1]!, true)).toMatchObject({

0 commit comments

Comments
 (0)