Page MenuHomePhabricator

[web] Fix preloading blob service URIs
ClosedPublic

Authored by bartek on Jun 1 2023, 12:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Apr 18, 3:42 PM
Unknown Object (File)
Thu, Apr 18, 1:56 AM
Unknown Object (File)
Thu, Apr 18, 1:56 AM
Unknown Object (File)
Thu, Apr 18, 1:56 AM
Unknown Object (File)
Thu, Apr 18, 1:56 AM
Unknown Object (File)
Thu, Apr 18, 1:52 AM
Unknown Object (File)
Feb 27 2024, 6:07 AM
Unknown Object (File)
Feb 27 2024, 6:07 AM
Subscribers

Details

Summary

I realized that the preloadImage and preloadMediaResource functions do not resolve Blob service URIs so preloading them would fail. This diff fixes that.

Depends on D8050

Test Plan

Called preloadMediaResource with a blob-service://XXXX URI, observed the devtools Network tab.
Before it failed with network error, now it succeeds: the request is sent to https://blob.commtechnologies.org/XXXX

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable