summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-09-08 12:23:01 +0000
committerTor Brede Vekterli <vekterli@yahooinc.com>2022-09-08 12:23:01 +0000
commitc06ed71b42e3995627ba854c7cf0bfae3c56bd0b (patch)
tree3fc428efd9560979f54cbf276d5d7c8d177c8512 /storage
parent46866b3f944baf6dbcff28ec8952255693d495c0 (diff)
Update test HTTP header expectations
Diffstat (limited to 'storage')
-rw-r--r--storage/src/tests/frameworkimpl/status/statustest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/src/tests/frameworkimpl/status/statustest.cpp b/storage/src/tests/frameworkimpl/status/statustest.cpp
index 77d23314221..2593eabecec 100644
--- a/storage/src/tests/frameworkimpl/status/statustest.cpp
+++ b/storage/src/tests/frameworkimpl/status/statustest.cpp
@@ -117,7 +117,7 @@ TEST_F(StatusTest, index_status_page) {
"Content-Length: [0-9]+\r\n"
"X-XSS-Protection: 1; mode=block\r\n"
"X-Frame-Options: DENY\r\n"
- "Content-Security-Policy: default-src 'none'\r\n"
+ "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n"
"X-Content-Type-Options: nosniff\r\n"
"Cache-Control: no-store\r\n"
"Pragma: no-cache\r\n"
@@ -152,7 +152,7 @@ TEST_F(StatusTest, html_status) {
"Content-Length: 117\r\n"
"X-XSS-Protection: 1; mode=block\r\n"
"X-Frame-Options: DENY\r\n"
- "Content-Security-Policy: default-src 'none'\r\n"
+ "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n"
"X-Content-Type-Options: nosniff\r\n"
"Cache-Control: no-store\r\n"
"Pragma: no-cache\r\n"
@@ -184,7 +184,7 @@ TEST_F(StatusTest, xml_sStatus) {
"Content-Length: 100\r\n"
"X-XSS-Protection: 1; mode=block\r\n"
"X-Frame-Options: DENY\r\n"
- "Content-Security-Policy: default-src 'none'\r\n"
+ "Content-Security-Policy: default-src 'none'; frame-ancestors 'none'\r\n"
"X-Content-Type-Options: nosniff\r\n"
"Cache-Control: no-store\r\n"
"Pragma: no-cache\r\n"