mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 822771 - add timeout to getHSTSPreloadList.js' XHRs r=bsmith DONTBUILD (NPOB)
This commit is contained in:
parent
586bc5642a
commit
c08acf8f69
@ -148,6 +148,7 @@ function getHSTSStatus(host, resultList) {
|
||||
var inResultList = false;
|
||||
var uri = "https://" + host.name + "/";
|
||||
req.open("GET", uri, true);
|
||||
req.timeout = 60000;
|
||||
req.channel.notificationCallbacks = new RedirectStopper();
|
||||
req.onreadystatechange = function(event) {
|
||||
if (!inResultList && req.readyState == 4) {
|
||||
|
Loading…
Reference in New Issue
Block a user