Increased timeout for extension communication

This commit is contained in:
Gustaf Räntilä
2018-03-20 15:17:48 +01:00
parent 458400889c
commit bb543076e2
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -632,8 +632,8 @@ u2f.isSupported = function(callback) {
reply(true);
}
);
// No response from extension within 200ms -> no support
setTimeout(reply.bind(null, false), 200);
// No response from extension within 500ms -> no support
setTimeout(reply.bind(null, false), 500);
};
/**
+2 -2
View File
@@ -30,8 +30,8 @@
+ reply(true);
+ }
+ );
+ // No response from extension within 200ms -> no support
+ setTimeout(reply.bind(null, false), 200);
+ // No response from extension within 500ms -> no support
+ setTimeout(reply.bind(null, false), 500);
+};
+
+/**