mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
chore: Fix PERMISSIONS_POLICY default value in core headers tests
This commit is contained in:
parent
056a9bf5b1
commit
c8972e0caf
1 changed files with 1 additions and 3 deletions
|
|
@ -49,9 +49,7 @@ try:
|
|||
referrer_policy = getenv("REFERRER_POLICY", "strict-origin-when-cross-origin")
|
||||
permissions_policy = getenv(
|
||||
"PERMISSIONS_POLICY",
|
||||
"accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(),"
|
||||
+ " execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), hid=(), idle-detection=(), magnetometer=(), microphone=(), midi=(),"
|
||||
+ " navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), usb=(), web-share=(), xr-spatial-tracking=()",
|
||||
"accelerometer=(), ambient-light-sensor=(), attribution-reporting=(), autoplay=(), battery=(), bluetooth=(), browsing-topics=(), camera=(), compute-pressure=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), publickey-credentials-create=(), publickey-credentials-get=(), screen-wake-lock=(), serial=(), speaker-selection=(), storage-access=(), usb=(), web-share=(), window-management=(), xr-spatial-tracking=()", # noqa: E501
|
||||
) + (", interest-cohort=()" if getenv("DISABLE_FLOC", "yes") == "yes" else "")
|
||||
x_frame_options = getenv("X_FRAME_OPTIONS", "SAMEORIGIN")
|
||||
x_content_type_options = getenv("X_CONTENT_TYPE_OPTIONS", "nosniff")
|
||||
|
|
|
|||
Loading…
Reference in a new issue