9.33content-security-policy/unsafe-eval/

30 / 30 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
15
Blocking files
0

Chrome 30 / 30 WPT subtests passing on the same files, none blocking

Tests

15 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
eval-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1 of 2)","PASS (2 of 2)"]
eval-blocked-and-sends-report.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS: eval() blocked.","violated-directive=script-src"]
eval-blocked-in-about-blank-iframe.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. eval-blocked-in-about-blank-iframe
eval-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS EvalError","PASS EvalError", "violated-directive=script-src"]
eval-in-iframe.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. (script-src) Eval code should not execute from iframe in iframe
  2. (script-src) Eval code should execute from iframe in parent
  3. (script-src) Eval code should not execute from parent in iframe
  4. (default-src) Eval code should not execute from iframe in iframe
  5. (default-src) Eval code should execute from iframe in parent
  6. (default-src) Eval code should not execute from parent in iframe
eval-scripts-setInterval-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS 1 of 2","PASS 2 of 2"]
eval-scripts-setInterval-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS","violated-directive=script-src"]
eval-scripts-setTimeout-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS 1 of 2","PASS 2 of 2"]
eval-scripts-setTimeout-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS","violated-directive=script-src"]
eval-scripts-setTimeout-setInterval-blocked-no-exception.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. setTimeout() with a blocked string handler returns 0 and doesn't report an exception
  2. setInterval() with a blocked string handler returns 0 and doesn't report an exception
eval-scripts-setTimeout-setInterval-cross-realm.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. setTimeout() on a global whose policy blocks eval returns 0
  2. setTimeout() from another realm on a global whose policy blocks eval returns 0
  3. setTimeout() from a realm whose policy blocks eval on a global whose policy doesn't returns an ID and runs
  4. setInterval() on a global whose policy blocks eval returns 0
  5. setInterval() from another realm on a global whose policy blocks eval returns 0
  6. setInterval() from a realm whose policy blocks eval on a global whose policy doesn't returns an ID and runs
eval-scripts-setTimeout-setInterval-policy-added-later.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. setTimeout() string handler runs after a policy blocking eval is added
  2. setInterval() string handler keeps running after a policy blocking eval is added
eval-scripts-setTimeout-setInterval-report-only.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. setTimeout() reports a violation for a string handler even if the timer is cleared right away
  2. setTimeout() reports a violation for a string handler and runs it
  3. setInterval() reports a violation for a string handler even if the timer is cleared right away
  4. setInterval() reports a violation for a string handler and runs it
function-constructor-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS"]
function-constructor-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS EvalError","violated-directive=script-src"]

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.