diff options
author | Bastien Orivel <eijebong@bananium.fr> | 2020-05-06 20:08:26 +0200 |
---|---|---|
committer | Bastien Orivel <eijebong@bananium.fr> | 2020-05-06 20:08:26 +0200 |
commit | ec665d9dcee6061b0253b2b38dccda06400cdce1 (patch) | |
tree | 67085e74d8520f9408b6638c632c416863ca25d9 /components/script/stylesheet_loader.rs | |
parent | b290ad95c159aeefa6e3fca91876e2a5fc584584 (diff) | |
download | servo-ec665d9dcee6061b0253b2b38dccda06400cdce1.tar.gz servo-ec665d9dcee6061b0253b2b38dccda06400cdce1.zip |
Properly set the url on the Response object when the response is an opaqueredirect
Diffstat (limited to 'components/script/stylesheet_loader.rs')
-rw-r--r-- | components/script/stylesheet_loader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/stylesheet_loader.rs b/components/script/stylesheet_loader.rs index 8e3f3624fb1..b0c52d5fc8c 100644 --- a/components/script/stylesheet_loader.rs +++ b/components/script/stylesheet_loader.rs @@ -101,7 +101,7 @@ impl FetchResponseListener for StylesheetContext { fn process_response(&mut self, metadata: Result<FetchMetadata, NetworkError>) { if let Ok(FetchMetadata::Filtered { ref filtered, .. }) = metadata { match *filtered { - FilteredMetadata::Opaque | FilteredMetadata::OpaqueRedirect => { + FilteredMetadata::Opaque | FilteredMetadata::OpaqueRedirect(_) => { self.origin_clean = false; }, _ => {}, |