commit | bbc460b4e78c8d1b3aeb28d9263c3f39a9f45639 | [log] [tgz] |
---|---|---|
author | Dave Tapuska <dtapuska@chromium.org> | Wed Jan 22 21:59:14 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 22 21:59:14 2025 |
tree | dd5c58d1b51f517b15940a98ed78ac96bf5129d7 | |
parent | 9ee5e919fbaf1f74831f6f38b578f830704dee5c [diff] |
[media] Fix loading error from service workers In https://chromium-review.googlesource.com/c/chromium/src/+/5962517 a validity check was change to use SecurityOrigin::AreSameOrigin since KURLs were now being used. This had different behavior for two null origins. For null origins an unique opaque nonce is created when creating a SecurityOrigin. If both are null (when loaded from a service worker) treat the data origin as valid. Add a test. Bug: 390581541 Change-Id: Ie72d39db7c3fc2afaf643c58ef5f578290a3dd8a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6190868 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/main@{#1409952}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.