Re: Test nonce-hiding behavior. (#5423)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 0525a5e7d1e98750b6ed750562c82fbd49babc13
Using browser at version BuildID 20170406100208; SourceStamp 3c68d659c2b715f811708f043a1e7169d77be2ba
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>1 test ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5423/content-security-policy/script-src/script-nonces-hidden.html">/content-security-policy/script-src/script-nonces-hidden.html</a></summary>


|                           Subtest                            | Results |                                                      Messages                                                     |
|--------------------------------------------------------------|---------|-------------------------------------------------------------------------------------------------------------------|
|                                                              | OK      |                                                                                                                   |
| `HTML: Reading 'nonce' content attribute and IDL attribute.` | FAIL    | `assert_equals: expected Element node <script nonce="abc" id="testScript" executed="yay">\n  doc... but got null` |
| `HTML: Cloned node retains nonce.`                           | FAIL    | `assert_equals: IDL attribute expected (string) "abc" but got (undefined) undefined`                              |
| `HTML: Cloned node retains nonce when inserted.`             | FAIL    | `assert_equals: expected (string) "abc" but got (undefined) undefined`                                            |
| `HTML: Writing 'nonce' content attribute.`                   | FAIL    | `assert_equals: expected (string) "abc" but got (undefined) undefined`                                            |
| `HTML: Writing 'nonce' IDL attribute.`                       | PASS    |                                                                                                                   |
| `Document-written script executes.`                          | PASS    |                                                                                                                   |
| `HTML: Document-written script's nonce value.`               | FAIL    | `assert_equals: expected "" but got "abc"`                                                                        |
| `HTML: createElement.nonce.`                                 | FAIL    | `assert_equals: expected (string) "yay" but got (object) null`                                                    |
| `HTML: createElement.setAttribute.`                          | FAIL    | `assert_equals: Pre-insertion IDL expected (string) "" but got (undefined) undefined`                             |
| `Nonces don't leak via CSS side-channels.`                   | PASS    |                                                                                                                   |

</details>
</details>

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

Received on Friday, 7 April 2017 11:54:06 UTC