mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 931249 - patch 5 - set redirection limit back to zero. r=bkelly
This commit is contained in:
parent
5392a94907
commit
d8a93fc400
@ -86,7 +86,11 @@ public:
|
||||
return rv;
|
||||
}
|
||||
|
||||
// FIXME(nsm): Set redirect limit.
|
||||
nsCOMPtr<nsIHttpChannel> httpChannel = do_QueryInterface(mChannel);
|
||||
if (httpChannel) {
|
||||
// Spec says no redirects allowed for SW scripts.
|
||||
httpChannel->SetRedirectionLimit(0);
|
||||
}
|
||||
|
||||
// Don't let serviceworker intercept.
|
||||
nsCOMPtr<nsIHttpChannelInternal> internalChannel = do_QueryInterface(mChannel);
|
||||
|
Loading…
Reference in New Issue
Block a user