Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f

This commit is contained in:
WPT Sync Bot 2018-09-27 21:57:09 -04:00
parent 0964d055cd
commit 7295abcc2a
245 changed files with 5966 additions and 1901 deletions

View file

@ -0,0 +1,11 @@
<html>
<body>
<script>
var img = document.createElement("img");
img.src = "/content-security-policy/support/pass.png";
img.onload = function() { parent.postMessage('img loaded', '*'); }
img.onerror = function() { parent.postMessage('img not loaded', '*'); }
document.body.appendChild(img);
</script>
</body>
</html>

View file

@ -0,0 +1 @@
Content-Security-Policy: {{GET[csp]}}

View file

@ -0,0 +1,14 @@
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="{{GET[csp]}}">
</head>
<body>
<script>
var img = document.createElement("img");
img.src = "/content-security-policy/support/pass.png";
img.onload = function() { parent.postMessage('img loaded', '*'); }
img.onerror = function() { parent.postMessage('img not loaded', '*'); }
document.body.appendChild(img);
</script>
</body>
</html>