From ec665d9dcee6061b0253b2b38dccda06400cdce1 Mon Sep 17 00:00:00 2001 From: Bastien Orivel Date: Wed, 6 May 2020 20:08:26 +0200 Subject: Properly set the url on the Response object when the response is an opaqueredirect --- components/script/stylesheet_loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/stylesheet_loader.rs') 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) { if let Ok(FetchMetadata::Filtered { ref filtered, .. }) = metadata { match *filtered { - FilteredMetadata::Opaque | FilteredMetadata::OpaqueRedirect => { + FilteredMetadata::Opaque | FilteredMetadata::OpaqueRedirect(_) => { self.origin_clean = false; }, _ => {}, -- cgit v1.2.3