mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Properly set the url on the Response object when the response is an opaqueredirect
This commit is contained in:
parent
b290ad95c1
commit
ec665d9dce
8 changed files with 10 additions and 100 deletions
|
@ -340,7 +340,7 @@ impl FetchResponseListener for EventSourceContext {
|
|||
let meta = match fm {
|
||||
FetchMetadata::Unfiltered(m) => m,
|
||||
FetchMetadata::Filtered { unsafe_, filtered } => match filtered {
|
||||
FilteredMetadata::Opaque | FilteredMetadata::OpaqueRedirect => {
|
||||
FilteredMetadata::Opaque | FilteredMetadata::OpaqueRedirect(_) => {
|
||||
return self.fail_the_connection()
|
||||
},
|
||||
_ => unsafe_,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue