Re: CSP: 'connect-src' should not cause exceptions. (#5205)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 17c3970a104430683b6ca550cc48f0282b254fe6
Using browser at version BuildID 20170321110237; SourceStamp ca4ae502156eaea6fffb296bb9c3b3930af8ab58
Starting 10 test iterations
All results were stable
## All results ##
<details>
<summary>7 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/content-security-policy/connect-src/connect-src-beacon-blocked.sub.html">/content-security-policy/connect-src/connect-src-beacon-blocked.sub.html</a></summary>


|            Subtest             | Results |                Messages                |
|--------------------------------|---------|----------------------------------------|
|                                | OK      |                                        |
| `sendBeacon should not throw.` | FAIL    | `assert_true: expected true got false` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html">/content-security-policy/connect-src/connect-src-eventsource-blocked.sub.html</a></summary>


| Subtest | Results | Messages |
|---------|---------|----------|
|         | TIMEOUT |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html">/content-security-policy/connect-src/connect-src-websocket-blocked.sub.html</a></summary>


|               Subtest                | Results | Messages |
|--------------------------------------|---------|----------|
|                                      | OK      |          |
| `WebSocket should fire error event.` | FAIL    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/content-security-policy/connect-src/connect-src-xmlhttprequest-blocked.sub.html">/content-security-policy/connect-src/connect-src-xmlhttprequest-blocked.sub.html</a></summary>


|                   Subtest                   | Results |     Messages     |
|---------------------------------------------|---------|------------------|
|                                             | TIMEOUT |                  |
| `XHR should fire onerror.`                  | TIMEOUT | `Test timed out` |
| `XHR should fire onerror after a redirect.` | TIMEOUT | `Test timed out` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/content-security-policy/inside-worker/dedicated-inheritance.html">/content-security-policy/inside-worker/dedicated-inheritance.html</a></summary>


|                                                      Subtest                                                       | Results |                   Messages                   |
|--------------------------------------------------------------------------------------------------------------------|---------|----------------------------------------------|
|                                                                                                                    | ERROR   |                                              |
| `Filesystem and blob.`                                                                                             | PASS    |                                              |
| `Same-origin 'fetch()' in blob:`                                                                                   | PASS    | `{}`                                         |
| `Same-origin XHR in blob:`                                                                                         | PASS    | `{}`                                         |
| `Cross-origin 'fetch()' in blob:`                                                                                  | PASS    | `{}`                                         |
| `Cross-origin XHR in blob:`                                                                                        | PASS    | `{}`                                         |
| `Same-origin => cross-origin 'fetch()' in blob:`                                                                   | PASS    | `{}`                                         |
| `Same-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                          | PASS    | `{}`                                         |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                                | PASS    | `{}`                                         |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                         | PASS    | `{}`                                         |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                               | PASS    | `{}`                                         |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`          | PASS    | `{}`                                         |
| `Same-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                          | PASS    | `{}`                                         |
| `Same-origin 'fetch()' in http:`                                                                                   | PASS    | `{}`                                         |
| `Same-origin XHR in http:`                                                                                         | PASS    | `{}`                                         |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                                | PASS    | `{}`                                         |
| `Cross-origin 'fetch()' in http:`                                                                                  | PASS    | `{}`                                         |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                         | PASS    | `{}`                                         |
| `Cross-origin XHR in http:`                                                                                        | PASS    | `{}`                                         |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                               | PASS    | `{}`                                         |
| `Same-origin => cross-origin 'fetch()' in http:`                                                                   | PASS    | `{}`                                         |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`          | PASS    | `{}`                                         |
| `Same-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                 | TIMEOUT | `Test timed out`                             |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                       | FAIL    | `assert_unreached: Reached unreachable code` |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                | PASS    | `{}`                                         |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                      | PASS    | `{}`                                         |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)` | PASS    | `{}`                                         |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/content-security-policy/inside-worker/shared-inheritance.html">/content-security-policy/inside-worker/shared-inheritance.html</a></summary>


|                                                      Subtest                                                       | Results | Messages |
|--------------------------------------------------------------------------------------------------------------------|---------|----------|
|                                                                                                                    | OK      |          |
| `Same-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20%27self%27)`                 | PASS    | `{}`     |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20%27self%27)`                       | PASS    | `{}`     |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20%27self%27)`                | PASS    | `{}`     |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20%27self%27)`                      | PASS    | `{}`     |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20%27self%27)` | PASS    | `{}`     |
| `Same-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)`                 | PASS    | `{}`     |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)`                       | PASS    | `{}`     |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)`                | PASS    | `{}`     |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)`                      | PASS    | `{}`     |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)` | PASS    | `{}`     |
| `Same-origin 'fetch()' in http:`                                                                                   | PASS    | `{}`     |
| `Same-origin XHR in http:`                                                                                         | PASS    | `{}`     |
| `Cross-origin 'fetch()' in http:`                                                                                  | PASS    | `{}`     |
| `Cross-origin XHR in http:`                                                                                        | PASS    | `{}`     |
| `Same-origin => cross-origin 'fetch()' in http:`                                                                   | PASS    | `{}`     |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5205/webrtc/rtcpeerconnection/rtcconfiguration-icecandidatepoolsize.html">/webrtc/rtcpeerconnection/rtcconfiguration-icecandidatepoolsize.html</a></summary>


|                          Subtest                           | Results |                                               Messages                                              |
|------------------------------------------------------------|---------|-----------------------------------------------------------------------------------------------------|
|                                                            | OK      |                                                                                                     |
| `Setting iceCandidatePoolSize to a valid value: 10`        | FAIL    | `assert_equals: expected (number) 10 but got (undefined) undefined`                                 |
| `Setting iceCandidatePoolSize to a valid value: 0`         | FAIL    | `assert_equals: expected (number) 0 but got (undefined) undefined`                                  |
| `Setting iceCandidatePoolSize to a valid value: null`      | FAIL    | `assert_equals: expected (number) 0 but got (undefined) undefined`                                  |
| `Setting iceCandidatePoolSize to a valid value: undefined` | FAIL    | `assert_equals: expected (number) 0 but got (undefined) undefined`                                  |
| `Setting iceCandidatePoolSize to an invalid value: -1`     | FAIL    | `assert_throws: function "() => new RTCPeerConnection({iceCandidatePoolSize: size})" did not throw` |
| `Setting iceCandidatePoolSize to an invalid value: 1000`   | FAIL    | `assert_throws: function "() => new RTCPeerConnection({iceCandidatePoolSize: size})" did not throw` |
| `Setting iceCandidatePoolSize to an invalid value: string` | FAIL    | `assert_throws: function "() => new RTCPeerConnection({iceCandidatePoolSize: size})" did not throw` |

</details>
</details>

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

Received on Wednesday, 22 March 2017 21:34:57 UTC