diff --git a/dom/security/test/csp/file_inlinescript.html b/dom/security/test/csp/file_inlinescript.html new file mode 100644 index 000000000000..55a9b9b18086 --- /dev/null +++ b/dom/security/test/csp/file_inlinescript.html @@ -0,0 +1,15 @@ + + + CSP inline script tests + + + + + + + testlink + + + diff --git a/dom/security/test/csp/file_inlinescript_main.html b/dom/security/test/csp/file_inlinescript_main.html deleted file mode 100644 index fa066052243e..000000000000 --- a/dom/security/test/csp/file_inlinescript_main.html +++ /dev/null @@ -1,15 +0,0 @@ - - - CSP inline script tests - - - - - - - - stuff - - diff --git a/dom/security/test/csp/file_inlinescript_main.html^headers^ b/dom/security/test/csp/file_inlinescript_main.html^headers^ deleted file mode 100644 index 433eaf050f3e..000000000000 --- a/dom/security/test/csp/file_inlinescript_main.html^headers^ +++ /dev/null @@ -1,2 +0,0 @@ -Content-Security-Policy: default-src 'self' -Cache-Control: no-cache diff --git a/dom/security/test/csp/file_inlinescript_main_allowed.html b/dom/security/test/csp/file_inlinescript_main_allowed.html deleted file mode 100644 index 92c5ca805802..000000000000 --- a/dom/security/test/csp/file_inlinescript_main_allowed.html +++ /dev/null @@ -1,16 +0,0 @@ - - - CSP inline script tests - - - - - - - - stuff - - diff --git a/dom/security/test/csp/file_inlinescript_main_allowed.html^headers^ b/dom/security/test/csp/file_inlinescript_main_allowed.html^headers^ deleted file mode 100644 index 7b6a2516792f..000000000000 --- a/dom/security/test/csp/file_inlinescript_main_allowed.html^headers^ +++ /dev/null @@ -1,2 +0,0 @@ -Content-Security-Policy: default-src 'self' ; script-src 'self' 'unsafe-inline' -Cache-Control: no-cache diff --git a/dom/security/test/csp/mochitest.ini b/dom/security/test/csp/mochitest.ini index c5aa4ab485ed..75d5e3f39393 100644 --- a/dom/security/test/csp/mochitest.ini +++ b/dom/security/test/csp/mochitest.ini @@ -31,10 +31,7 @@ support-files = file_frameancestors_main.html file_frameancestors_main.js file_frameancestors.sjs - file_inlinescript_main.html - file_inlinescript_main.html^headers^ - file_inlinescript_main_allowed.html - file_inlinescript_main_allowed.html^headers^ + file_inlinescript.html file_inlinestyle_main.html file_inlinestyle_main.html^headers^ file_inlinestyle_main_allowed.html diff --git a/dom/security/test/csp/test_inlinescript.html b/dom/security/test/csp/test_inlinescript.html index 31ddf60d1a6c..7fd5695d5468 100644 --- a/dom/security/test/csp/test_inlinescript.html +++ b/dom/security/test/csp/test_inlinescript.html @@ -1,6 +1,7 @@ + Test for Content Security Policy Frame Ancestors directive @@ -10,14 +11,30 @@

+ - - - +