Skip to content

Commit 300bdaf

Browse files
committed
test(web): retain download permission for selection-enabled HTML
1 parent b206a61 commit 300bdaf

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
@@ -1057,7 +1057,7 @@ describe("AssetAccess", () => {
10571057
expect(bridged).toContain('href="style.css"');
10581058
expect(bridged).not.toContain("<base");
10591059
expect(assetResponseHeaders(filePath)["Content-Security-Policy"]).toBe(
1060-
"sandbox allow-scripts allow-forms allow-popups",
1060+
"sandbox allow-scripts allow-forms allow-popups allow-downloads",
10611061
);
10621062
expect(yield* resolve(urls[0]!, false)).toMatchObject({ kind: "file", path: filePath });
10631063
expect(yield* resolve(urls[1]!, true)).toMatchObject({

0 commit comments

Comments
 (0)