Update web-platform-tests to revision 71a0d51d14d8b0f1b53cda3a7d39ef8765164485

This commit is contained in:
Ms2ger 2015-09-17 17:35:48 +02:00
parent d504015496
commit 163009575a
290 changed files with 2928 additions and 972 deletions

View file

@ -14,6 +14,9 @@
var evalRan = false;
test(function() {assert_throws(new EvalError(), function() { eval('evalRan = true;') })}, "eval() should throw without 'unsafe-eval' keyword source in script-src directive.");
test(function() {assert_false(evalRan);})
</script>
<script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=script-src%20%27self%27+%27unsafe-inline%27'></script>

View file

@ -1,22 +0,0 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Worker created from inline text and loaded via blob URI should not run with policy default-src *</title>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
</head>
<body>
<h1>Worker created from inline text and loaded via blob URI should not run with policy default-src *</h1>
<div id='log'></div>
<script id="inlineWorker" type="app/worker">
addEventListener('message', function() {
postMessage('fail');
}, false);
</script>
<script src="buildInlineWorker.js"></script>
<script async defer src='../support/checkReport.sub.js?reportField=violated-directive&reportValue=default-src%20*'></script>
</body>
</html>

View file

@ -1,6 +0,0 @@
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Cache-Control: post-check=0, pre-check=0, false
Pragma: no-cache
Set-Cookie: script-src-1_9={{$id:uuid()}}; Path=/content-security-policy/script-src/
Content-Security-Policy: default-src *; report-uri ../support/report.py?op=put&reportID={{$id}}