Commit 924efbb
authored
Cherry pick from
#5516
Fixes
https://youtrack.jetbrains.com/issue/CMP-9545/ComposeResources-on-Web-not-loading-because-Cache-Storage-API-is-not-supported-everywhere
## Testing
This should be tested by QA
## Release Notes
### Fixes - Resources
Fixes an issue where web resources failed to load when calling the Cache
Storage API with unsupported protocols (e.g., vscode-webview: in VS Code
webviews).
1 file changed
Lines changed: 5 additions & 1 deletion
File tree
- components/resources/library/src/webMain/kotlin/org/jetbrains/compose/resources
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
91 | 95 | | |
92 | 96 | | |
93 | 97 | | |
| |||
0 commit comments