diff --git a/dom/base/test/csp/file_csp_allow_https_schemes.html b/dom/base/test/csp/file_csp_allow_https_schemes.html new file mode 100644 index 000000000000..96dab5013a98 --- /dev/null +++ b/dom/base/test/csp/file_csp_allow_https_schemes.html @@ -0,0 +1,14 @@ + + + + Bug 826805 - CSP: Allow http and https for scheme-less sources + + +
blocked
+ + + + diff --git a/dom/base/test/csp/mochitest.ini b/dom/base/test/csp/mochitest.ini index 6c99d1bf46d1..9c6b3208f1d2 100644 --- a/dom/base/test/csp/mochitest.ini +++ b/dom/base/test/csp/mochitest.ini @@ -4,6 +4,7 @@ support-files = file_connect-src.html file_CSP.css file_CSP.sjs + file_csp_allow_https_schemes.html file_CSP_bug663567.xsl file_CSP_bug663567_allows.xml file_CSP_bug663567_allows.xml^headers^ @@ -103,6 +104,7 @@ support-files = [test_base-uri.html] [test_connect-src.html] [test_CSP.html] +[test_csp_allow_https_schemes.html] [test_CSP_bug663567.html] [test_CSP_bug802872.html] [test_CSP_bug885433.html] diff --git a/dom/base/test/csp/test_csp_allow_https_schemes.html b/dom/base/test/csp/test_csp_allow_https_schemes.html new file mode 100644 index 000000000000..a7784f5d2073 --- /dev/null +++ b/dom/base/test/csp/test_csp_allow_https_schemes.html @@ -0,0 +1,71 @@ + + + + Bug 826805 - Allow http and https for scheme-less sources + + + + + +

+ + + + +