mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
add a fetch token for blob urls
This commit is contained in:
parent
4c5ec9da27
commit
895500e68c
10 changed files with 167 additions and 45 deletions
|
@ -1380,8 +1380,7 @@ impl GlobalScope {
|
|||
let resource_threads = self.resource_threads();
|
||||
let (chan, recv) = profile_ipc::channel(self.time_profiler_chan().clone()).unwrap();
|
||||
let origin = get_blob_origin(&self.get_url());
|
||||
let check_url_validity = false;
|
||||
let msg = FileManagerThreadMsg::ReadFile(chan, id, check_url_validity, origin);
|
||||
let msg = FileManagerThreadMsg::ReadFile(chan, id, origin);
|
||||
let _ = resource_threads.send(CoreResourceMsg::ToFileManager(msg));
|
||||
recv
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue