-
Notifications
You must be signed in to change notification settings - Fork 119
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
Check the bundle URL for CSP while loading urn:uuid resources #654
Conversation
Explainer PR: WICG/webpackage#654 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
allowed when "\*" is set in the CSP | ||
[source expression](https://w3c.github.io/webappsec-csp/#source-expression). | ||
This is different from the CSP behavior that `data:` and `blob:` schemes are | ||
excluded from matching a policy of "\*". |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we also write why (extract some relevant part from the issue about why) it is okay for urn:uuid (contrary to data: and blob: where it's considered not okay) to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. How about this?
4f06ad3
Explainer PR: WICG/webpackage#654 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2886721 Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/master@{#883887}
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2886721 Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/master@{#883887}
Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2886721 Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/master@{#883887}
…ng urn:uuid resources, a=testonly Automatic update from web-platform-tests Check the bundle URL for CSP while loading urn:uuid resources Explainer PR: WICG/webpackage#654 Bug: 1082020 Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2886721 Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Reviewed-by: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org> Commit-Queue: Tsuyoshi Horo <horo@chromium.org> Cr-Commit-Position: refs/heads/master@{#883887} -- wpt-commits: 65a85edb4ba6663db9a20755771c7d8ac5cedb03 wpt-pr: 28958
@hayatoito @kinu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay, lgtm!
@jyasskin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the slow review. This looks good.
I created this pull request on @hayatoito 's behalf (PR #653 for Issue #651), because he is busy on other tasks.
Here is the Chromium side CL: https://crrev.com/c/2886721