Re: CSP: Upstream worker tests to WPT repository. (#5184)

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

# Firefox (nightly channel) #
Testing web-platform-tests at revision 1387f350c3e7dc4d82b92cecb1f69971b202c55c
Using browser at version BuildID 20170320110254; SourceStamp 1b9293be51637f841275541d8991314ca56561a5
Starting 10 test iterations
## Unstable results ##


|                              Test                              |  Subtest   |        Results        |                      Messages                     |
|----------------------------------------------------------------|------------|-----------------------|---------------------------------------------------|
| `/content-security-policy/inside-worker/dedicated-script.html` | `Untitled` | **FAIL: 30/10, PASS** | `assert_unreached: FAIL Reached unreachable code` |

## All results ##
<details>
<summary>23 tests ran</summary>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/inside-worker/dedicated-inheritance.html">/content-security-policy/inside-worker/dedicated-inheritance.html</a></summary>


|                                                      Subtest                                                       | Results |     Messages     |
|--------------------------------------------------------------------------------------------------------------------|---------|------------------|
|                                                                                                                    | ERROR   |                  |
| `Untitled`                                                                                                         | PASS    |                  |
| `Same-origin 'fetch()' in blob:`                                                                                   | PASS    | `{}`             |
| `Same-origin XHR in blob:`                                                                                         | PASS    | `{}`             |
| `Cross-origin 'fetch()' in blob:`                                                                                  | TIMEOUT | `Test timed out` |
| `Cross-origin XHR in blob:`                                                                                        | TIMEOUT | `Test timed out` |
| `Same-origin => cross-origin 'fetch()' in blob:`                                                                   | PASS    | `{}`             |
| `Same-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                 | TIMEOUT | `Test timed out` |
| `Same-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 XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                       | PASS    | `{}`             |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                                | PASS    | `{}`             |
| `Same-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                                | PASS    | `{}`             |
| `Same-origin 'fetch()' in http:`                                                                                   | PASS    | `{}`             |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                | TIMEOUT | `Test timed out` |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                         | TIMEOUT | `Test timed out` |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                         | TIMEOUT | `Test timed out` |
| `Same-origin XHR in http:`                                                                                         | PASS    | `{}`             |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)`                      | TIMEOUT | `Test timed out` |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`                               | TIMEOUT | `Test timed out` |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                               | TIMEOUT | `Test timed out` |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27none%27)` | PASS    | `{}`             |
| `Cross-origin 'fetch()' in http:`                                                                                  | TIMEOUT | `Test timed out` |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20*)`          | PASS    | `{}`             |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`          | PASS    | `{}`             |
| `Cross-origin XHR in http:`                                                                                        | TIMEOUT | `Test timed out` |
| `Same-origin => cross-origin 'fetch()' in http:`                                                                   | PASS    | `{}`             |

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


|                                                 Subtest                                                  |        Results        |                                                                                         Messages                                                                                        |
|----------------------------------------------------------------------------------------------------------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                                                          | ERROR                 |                                                                                                                                                                                         |
| `Untitled`                                                                                               | **FAIL: 30/10, PASS** | `assert_unreached: FAIL Reached unreachable code`                                                                                                                                       |
| `Cross-origin importScripts() blocked in blob:`                                                          | PASS                  | `{}`                                                                                                                                                                                    |
| `eval() blocked in blob:`                                                                                | FAIL                  | `assert_throws: eval() should throw 'EvalError'. function "_ => eval("1 + 1")" threw object "Error: call to eval() blocked by CSP" ("Error") expected object "EvalError" ("EvalError")` |
| `setTimeout([string]) blocked in blob:`                                                                  | FAIL                  | `assert_equals: expected 0 but got 1`                                                                                                                                                   |
| `Cross-origin importScripts() blocked in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)` | FAIL                  | `assert_throws: importScripts should throw NetworkError function "_ => importScripts("http://www.web-platform.test:8001/content-security-policy/support/fail.js")" did not throw`       |
| `Cross-origin importScripts() blocked in http:?pipe=sub|header(Content-Security-Policy,script-src%20*)`  | FAIL                  | `assert_throws: importScripts should throw NetworkError function "_ => importScripts("http://www.web-platform.test:8001/content-security-policy/support/fail.js")" did not throw`       |
| `Cross-origin importScripts() blocked in http:`                                                          | FAIL                  | `assert_throws: importScripts should throw NetworkError function "_ => importScripts("http://www.web-platform.test:8001/content-security-policy/support/fail.js")" did not throw`       |
| `eval() blocked in http:?pipe=sub|header(Content-Security-Policy,script-src%20*)`                        | FAIL                  | `assert_throws: eval() should throw 'EvalError'. function "_ => eval("1 + 1")" threw object "Error: call to eval() blocked by CSP" ("Error") expected object "EvalError" ("EvalError")` |
| `eval() blocked in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`                       | FAIL                  | `assert_throws: eval() should throw 'EvalError'. function "_ => eval("1 + 1")" threw object "Error: call to eval() blocked by CSP" ("Error") expected object "EvalError" ("EvalError")` |
| `eval() blocked in http:`                                                                                | FAIL                  | `assert_throws: eval() should throw 'EvalError'. function "_ => eval("1 + 1")" did not throw`                                                                                           |
| `setTimeout([string]) blocked in http:`                                                                  | FAIL                  | `assert_equals: expected 0 but got 1`                                                                                                                                                   |
| `setTimeout([string]) blocked in http:?pipe=sub|header(Content-Security-Policy,script-src%20*)`          | FAIL                  | `assert_equals: expected 0 but got 1`                                                                                                                                                   |
| `setTimeout([string]) blocked in http:?pipe=sub|header(Content-Security-Policy,default-src%20*)`         | FAIL                  | `assert_equals: expected 0 but got 1`                                                                                                                                                   |

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


|                                                      Subtest                                                       | Results |     Messages     |
|--------------------------------------------------------------------------------------------------------------------|---------|------------------|
|                                                                                                                    | TIMEOUT |                  |
| `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)`                | TIMEOUT | `Test timed out` |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,default-src%20%27self%27)`                      | TIMEOUT | `Test timed out` |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,default-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 '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    | `{}`             |
| `Same-origin => cross-origin 'fetch()' in http:`                                                                   | PASS    | `{}`             |
| `Cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)`                | TIMEOUT | `Test timed out` |
| `Cross-origin XHR in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)`                      | TIMEOUT | `Test timed out` |
| `Same-origin => cross-origin 'fetch()' in http:?pipe=sub|header(Content-Security-Policy,connect-src%20%27self%27)` | PASS    | `{}`             |

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


|                       Subtest                       | Results | Messages |
|-----------------------------------------------------|---------|----------|
|                                                     | ERROR   |          |
| `Cross-origin importScripts() not blocked in http:` | PASS    | `{}`     |
| `eval() not blocked in http:`                       | PASS    | `{}`     |
| `setTimeout([string]) not blocked in http:`         | PASS    | `{}`     |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html">/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script.sub.html</a></summary>


|                       Subtest                        | Results |     Messages     |
|------------------------------------------------------|---------|------------------|
|                                                      | TIMEOUT |                  |
| `Non-redirected cross-origin URLs are not stripped.` | TIMEOUT | `Test timed out` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image.sub.html">/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image.sub.html</a></summary>


|                       Subtest                        | Results |     Messages     |
|------------------------------------------------------|---------|------------------|
|                                                      | TIMEOUT |                  |
| `Non-redirected cross-origin URLs are not stripped.` | TIMEOUT | `Test timed out` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html">/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image-from-script.sub.html</a></summary>


|                       Subtest                        | Results |     Messages     |
|------------------------------------------------------|---------|------------------|
|                                                      | TIMEOUT |                  |
| `Non-redirected cross-origin URLs are not stripped.` | TIMEOUT | `Test timed out` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html">/content-security-policy/securitypolicyviolation/securitypolicyviolation-block-image.sub.html</a></summary>


|                       Subtest                       | Results |     Messages     |
|-----------------------------------------------------|---------|------------------|
|                                                     | TIMEOUT |                  |
| `Non-redirected same-origin URLs are not stripped.` | TIMEOUT | `Test timed out` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/dedicated-child.sub.html">/content-security-policy/worker-src/dedicated-child.sub.html</a></summary>


|                              Subtest                              | Results | Messages |
|-------------------------------------------------------------------|---------|----------|
|                                                                   | OK      |          |
| `Same-origin dedicated worker allowed by host-source expression.` | PASS    |          |
| `blob: dedicated worker allowed by 'blob:'.`                      | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/dedicated-fallback.sub.html">/content-security-policy/worker-src/dedicated-fallback.sub.html</a></summary>


|                              Subtest                              | Results |                                        Messages                                       |
|-------------------------------------------------------------------|---------|---------------------------------------------------------------------------------------|
|                                                                   | OK      |                                                                                       |
| `Same-origin dedicated worker allowed by host-source expression.` | FAIL    | `assert_unreached: The 'error' event should not have fired. Reached unreachable code` |
| `blob: dedicated worker allowed by 'blob:'.`                      | FAIL    | `assert_unreached: The 'error' event should not have fired. Reached unreachable code` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/dedicated-list.sub.html">/content-security-policy/worker-src/dedicated-list.sub.html</a></summary>


|                              Subtest                              | Results | Messages |
|-------------------------------------------------------------------|---------|----------|
|                                                                   | OK      |          |
| `Same-origin dedicated worker allowed by host-source expression.` | PASS    |          |
| `blob: dedicated worker allowed by 'blob:'.`                      | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/dedicated-none.sub.html">/content-security-policy/worker-src/dedicated-none.sub.html</a></summary>


|                              Subtest                              | Results |                                            Messages                                            |
|-------------------------------------------------------------------|---------|------------------------------------------------------------------------------------------------|
|                                                                   | OK      |                                                                                                |
| `Same-origin dedicated worker blocked by host-source expression.` | FAIL    | `assert_throws: function "function () {\n      var w = new Worker(url);\n    }" did not throw` |
| `blob: dedicated worker blocked by 'blob:'.`                      | FAIL    | `assert_throws: function "function () {\n      var w = new Worker(url);\n    }" did not throw` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/dedicated-self.sub.html">/content-security-policy/worker-src/dedicated-self.sub.html</a></summary>


|                      Subtest                      | Results | Messages |
|---------------------------------------------------|---------|----------|
|                                                   | OK      |          |
| `Same-origin dedicated worker allowed by 'self'.` | PASS    |          |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/5184/content-security-policy/worker-src/service-child.https.sub.html">/content-security-policy/worker-src/service-child.https.sub.html</a></summary>


|                             Subtest                             | Results | Messages |
|-----------------------------------------------------------------|---------|----------|
|                                                                 | OK      |          |
| `Same-origin service worker allowed by host-source expression.` | PASS    |          |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/5184/content-security-policy/worker-src/service-fallback.https.sub.html">/content-security-policy/worker-src/service-fallback.https.sub.html</a></summary>


|                             Subtest                             | Results |                                                                                                                                              Messages                                                                                                                                              |
|-----------------------------------------------------------------|---------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|                                                                 | OK      |                                                                                                                                                                                                                                                                                                    |
| `Same-origin service worker allowed by host-source expression.` | FAIL    | `promise_test: Unhandled rejection with value: object "[Exception... "<no message>"  nsresult: "0x805e0006 (<unknown>)"  location: "JS frame :: https://web-platform.test:8443/content-security-policy/support/testharness-helper.js :: assert_service_worker_is_loaded/< :: line 73"  data: no]"` |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/5184/content-security-policy/worker-src/service-list.https.sub.html">/content-security-policy/worker-src/service-list.https.sub.html</a></summary>


|                             Subtest                             | Results | Messages |
|-----------------------------------------------------------------|---------|----------|
|                                                                 | OK      |          |
| `Same-origin service worker allowed by host-source expression.` | PASS    |          |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/5184/content-security-policy/worker-src/service-none.https.sub.html">/content-security-policy/worker-src/service-none.https.sub.html</a></summary>


|                     Subtest                     | Results |                                   Messages                                   |
|-------------------------------------------------|---------|------------------------------------------------------------------------------|
|                                                 | OK      |                                                                              |
| `Same-origin service worker blocked by 'none'.` | FAIL    | `assert_unreached: Should have rejected: undefined Reached unreachable code` |

</details>
<details>
<summary><a href="https://w3c-test.org/submissions/5184/content-security-policy/worker-src/service-self.https.sub.html">/content-security-policy/worker-src/service-self.https.sub.html</a></summary>


|                     Subtest                     | Results | Messages |
|-------------------------------------------------|---------|----------|
|                                                 | OK      |          |
| `Same-origin service worker allowed by 'self'.` | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/shared-child.sub.html">/content-security-policy/worker-src/shared-child.sub.html</a></summary>


|                      Subtest                      | Results | Messages |
|---------------------------------------------------|---------|----------|
|                                                   | OK      |          |
| `Same-origin dedicated worker allowed by 'self'.` | PASS    |          |
| `blob: dedicated worker allowed by 'blob:'.`      | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/shared-fallback.sub.html">/content-security-policy/worker-src/shared-fallback.sub.html</a></summary>


|                      Subtest                      | Results |                                        Messages                                       |
|---------------------------------------------------|---------|---------------------------------------------------------------------------------------|
|                                                   | OK      |                                                                                       |
| `Same-origin dedicated worker allowed by 'self'.` | FAIL    | `assert_unreached: The 'error' event should not have fired. Reached unreachable code` |
| `blob: dedicated worker allowed by 'blob:'.`      | FAIL    | `assert_unreached: The 'error' event should not have fired. Reached unreachable code` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/shared-list.sub.html">/content-security-policy/worker-src/shared-list.sub.html</a></summary>


|                      Subtest                      | Results | Messages |
|---------------------------------------------------|---------|----------|
|                                                   | OK      |          |
| `Same-origin dedicated worker allowed by 'self'.` | PASS    |          |
| `blob: dedicated worker allowed by 'blob:'.`      | PASS    |          |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/shared-none.sub.html">/content-security-policy/worker-src/shared-none.sub.html</a></summary>


|                    Subtest                     | Results |                                               Messages                                               |
|------------------------------------------------|---------|------------------------------------------------------------------------------------------------------|
|                                                | OK      |                                                                                                      |
| `Same-origin shared worker blocked by 'none'.` | FAIL    | `assert_throws: function "function () {\n      var w = new SharedWorker(url);\n    }" did not throw` |
| `blob: shared worker blocked by 'none'.`       | FAIL    | `assert_throws: function "function () {\n      var w = new SharedWorker(url);\n    }" did not throw` |

</details>
<details>
<summary><a href="http://w3c-test.org/submissions/5184/content-security-policy/worker-src/shared-self.sub.html">/content-security-policy/worker-src/shared-self.sub.html</a></summary>


|                      Subtest                      | Results | Messages |
|---------------------------------------------------|---------|----------|
|                                                   | OK      |          |
| `Same-origin dedicated worker allowed by 'self'.` | PASS    |          |

</details>
</details>

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

Received on Tuesday, 21 March 2017 08:05:15 UTC