mirror of
https://github.com/servo/servo.git
synced 2025-08-21 05:15:33 +01:00
Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f
This commit is contained in:
parent
0964d055cd
commit
7295abcc2a
245 changed files with 5966 additions and 1901 deletions
|
@ -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>
|
|
@ -0,0 +1 @@
|
|||
Content-Security-Policy: {{GET[csp]}}
|
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue