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

Check the bundle URL for CSP while loading urn:uuid resources #654

Merged
merged 4 commits into from
Jun 23, 2021

Conversation

horo-t
Copy link
Collaborator

@horo-t horo-t commented May 11, 2021

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

@horo-t horo-t requested review from hayatoito and kinu May 11, 2021 14:25
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 11, 2021
Explainer PR: WICG/webpackage#654

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 12, 2021
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 "\*".
Copy link
Collaborator

@kinu kinu May 12, 2021

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?

Copy link
Collaborator Author

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

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 12, 2021
Explainer PR: WICG/webpackage#654

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 12, 2021
Explainer PR: WICG/webpackage#654

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 12, 2021
Explainer PR: WICG/webpackage#654

Bug: 1082020

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 12, 2021
Explainer PR: WICG/webpackage#654

Bug: 1082020

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 13, 2021
Explainer PR: WICG/webpackage#654

Bug: 1082020

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
@horo-t horo-t requested a review from kinu May 14, 2021 05:59
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 14, 2021
Explainer PR: WICG/webpackage#654

Bug: 1082020

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 17, 2021
Explainer PR: WICG/webpackage#654

Bug: 1082020

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 18, 2021
Explainer PR: WICG/webpackage#654

Bug: 1082020

Change-Id: I82ee816dcf5664f130c9fb5de844143bb7276b30
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 18, 2021
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}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request May 18, 2021
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}
blueboxd pushed a commit to blueboxd/chromium-legacy that referenced this pull request May 18, 2021
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}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request May 20, 2021
…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
@horo-t
Copy link
Collaborator Author

horo-t commented May 24, 2021

@hayatoito @kinu
Ping?

Copy link
Collaborator

@hayatoito hayatoito left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@kinu kinu left a 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!

@horo-t horo-t requested a review from jyasskin May 24, 2021 06:55
@horo-t
Copy link
Collaborator Author

horo-t commented May 24, 2021

@jyasskin
Could you please review this PR if you have time?

Copy link
Member

@jyasskin jyasskin left a 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.

@jyasskin jyasskin merged commit 39b429d into WICG:main Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants