Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSP: Move 'worker-src' onto 'script-src' #5175

Merged
merged 1 commit into from Mar 20, 2017

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

Based on the discussion in w3c/webappsec-csp#146,
we're deprecating 'child-src' and moving 'worker-src' onto 'script-src'.

Intent to Ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/npKDoKVOUAs/ogtlIFmLBAAJ

BUG=662930,694525

Review-Url: https://codereview.chromium.org/2533313002
Cr-Commit-Position: refs/heads/master@{#458026}

Based on the discussion in w3c/webappsec-csp#146,
we're deprecating 'child-src' and moving 'worker-src' onto 'script-src'.

Intent to Ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/npKDoKVOUAs/ogtlIFmLBAAJ

BUG=662930,694525

Review-Url: https://codereview.chromium.org/2533313002
Cr-Commit-Position: refs/heads/master@{#458026}
@wpt-pr-bot
Copy link
Collaborator

Notifying @hillbrad. (Learn how reviewing works.)

@w3c-bots
Copy link

View the complete job log.

Firefox (nightly channel)

Testing web-platform-tests at revision 4eb696b
Using browser at version BuildID 20170319110229; SourceStamp e1576dd8bd9d3a4ca418cf347133b8a4957ddeca
Starting 10 test iterations
All results were stable

All results

3 tests ran
/content-security-policy/worker-src/service-child.https.sub.html
Subtest Results Messages
OK
Same-origin service worker allowed by host-source expression. PASS
/content-security-policy/worker-src/service-fallback.https.sub.html
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 64" data: no]"
/content-security-policy/worker-src/service-list.https.sub.html
Subtest Results Messages
OK
Same-origin service worker allowed by host-source expression. PASS

@w3c-bots
Copy link

View the complete job log.

Chrome (unstable channel)

Testing web-platform-tests at revision 4eb696b
Using browser at version 59.0.3043.0 dev
Starting 10 test iterations
All results were stable

All results

3 tests ran
/content-security-policy/worker-src/service-child.https.sub.html
Subtest Results Messages
OK
Same-origin service worker allowed by host-source expression. PASS
/content-security-policy/worker-src/service-fallback.https.sub.html
Subtest Results Messages
OK
Same-origin service worker allowed by host-source expression. FAIL promise_test: Unhandled rejection with value: object "SecurityError: Failed to register a ServiceWorker: The provided scriptURL ('https://web-platform.test:8443/content-security-policy/support/ping.js') violates the Content Security Policy."
/content-security-policy/worker-src/service-list.https.sub.html
Subtest Results Messages
OK
Same-origin service worker allowed by host-source expression. PASS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants