content/base/test/csp/file_csp_bug768029.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/content/base/test/csp/file_csp_bug768029.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html>
     1.6 +<!--
     1.7 +  https://bugzilla.mozilla.org/show_bug.cgi?id=768029
     1.8 +-->
     1.9 +<head>
    1.10 +  <meta charset="utf-8">
    1.11 +    <title>This is an app for testing</title>
    1.12 +
    1.13 +    <link rel="stylesheet" type="text/css"
    1.14 +          href="file_csp_bug768029.sjs?type=style&origin=same_origin" />
    1.15 +    <link rel="stylesheet" type="text/css"
    1.16 +          href="http://example.com/tests/content/base/test/csp/file_csp_bug768029.sjs?type=style&origin=cross_origin" />
    1.17 +  </head>
    1.18 +  <body>
    1.19 +
    1.20 +    <script src="file_csp_bug768029.sjs?type=script&origin=same_origin"></script>
    1.21 +    <script src="http://example.com/tests/content/base/test/csp/file_csp_bug768029.sjs?type=script&origin=cross_origin"></script>
    1.22 +    <img src="file_csp_bug768029.sjs?type=img&origin=same_origin" />
    1.23 +    <img src="http://example.com/tests/content/base/test/csp/file_csp_bug768029.sjs?type=img&origin=cross_origin" />
    1.24 +
    1.25 +    Test for CSP applied to (simulated) app.
    1.26 +
    1.27 +  </body>
    1.28 +</html>

mercurial