fix: Add CORP and COEP headers to embedded pages (#15275)

* Add CORP headers

* Improve test

* Add unit tests as well

---------

Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
Hariom BalharaandKeith Williams authored and GitHub committed 2024-07-29 11:54:31 +02:00
1 parent 6e66f7f8f8
commit 37caa57798
12 files changed
+302 -21

No files matched your search

@@ -23,6 +23,7 @@ export type PrefillAndIframeAttrsConfig = Record<string, string | string[] | Rec
// TODO: It should have a dedicated prefill prop
// prefill: {},
"flag.coep"?: "true" | "false";
// TODO: Move layout and theme as nested props of ui as it makes it clear that these two can be configured using `ui` instruction as well any time.
// ui: {layout; theme}