Re: CSP: Add 'sample' to violation reports. (#5035)

 [View the complete job log.](https://travis-ci.org/w3c/web-platform-tests/jobs/206960483)

# Chrome (unstable channel) #
Testing web-platform-tests at revision 7451c4434a1bfa897a194a825cc391840729856e
Using browser at version 58.0.3026.3 dev
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>4 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5035/content-security-policy/securitypolicyviolation/script-sample-no-opt-in.html">/content-security-policy/securitypolicyviolation/script-sample-no-opt-in.html</a></summary>


|                        Subtest                         | Results |                               Messages                              |
|--------------------------------------------------------|---------|---------------------------------------------------------------------|
|                                                        | OK      |                                                                     |
| `Inline script should not have a sample.`              | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined` |
| `Inline event handlers should not have a sample.`      | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined` |
| `JavaScript URLs in iframes should not have a sample.` | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined` |
| `eval() should not have a sample.`                     | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5035/content-security-policy/securitypolicyviolation/script-sample.html">/content-security-policy/securitypolicyviolation/script-sample.html</a></summary>


|                      Subtest                       | Results |                                                   Messages                                                  |
|----------------------------------------------------|---------|-------------------------------------------------------------------------------------------------------------|
|                                                    | OK      |                                                                                                             |
| `Inline script should have a sample.`              | FAIL    | `assert_equals: expected (string) "assert_unreached('inline script block')" but got (undefined) undefined`  |
| `Inline event handlers should have a sample.`      | FAIL    | `assert_equals: expected (string) "assert_unreached('inline event handler')" but got (undefined) undefined` |
| `JavaScript URLs in iframes should have a sample.` | FAIL    | `assert_equals: expected (string) "javascript:'inline url'" but got (undefined) undefined`                  |
| `eval() should not have a sample.`                 | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined`                                         |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5035/content-security-policy/securitypolicyviolation/style-sample-no-opt-in.html">/content-security-policy/securitypolicyviolation/style-sample-no-opt-in.html</a></summary>


|                       Subtest                       | Results |                               Messages                              |
|-----------------------------------------------------|---------|---------------------------------------------------------------------|
|                                                     | OK      |                                                                     |
| `Inline style blocks should not have a sample.`     | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined` |
| `Inline style attributes should not have a sample.` | FAIL    | `assert_equals: expected (string) "" but got (undefined) undefined` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5035/content-security-policy/securitypolicyviolation/style-sample.html">/content-security-policy/securitypolicyviolation/style-sample.html</a></summary>


|                     Subtest                     | Results |                                            Messages                                           |
|-------------------------------------------------|---------|-----------------------------------------------------------------------------------------------|
|                                                 | OK      |                                                                                               |
| `Inline style blocks should have a sample.`     | FAIL    | `assert_equals: expected (string) "p { omg: yay !important; }" but got (undefined) undefined` |
| `Inline style attributes should have a sample.` | FAIL    | `assert_equals: expected (string) "omg: yay !important;" but got (undefined) undefined`       |

</details>
</details>

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5035#issuecomment-283629975

Received on Thursday, 2 March 2017 11:34:01 UTC