mirror of
https://github.com/servo/servo
synced 2026-04-29 19:07:38 +02:00
Update web-platform-tests to revision 71a0d51d14d8b0f1b53cda3a7d39ef8765164485
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user