mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
fix http auth test in Firefox
This commit is contained in:
@@ -227,7 +227,11 @@ testAsyncMulti("httpcall - http auth", [
|
||||
// password prompt. So we don't test auth failure, only
|
||||
// success.
|
||||
|
||||
var password = Meteor.uuid().replace(/[^0-9a-zA-Z]/g, '');
|
||||
// Random password breaks in Firefox, because Firefox incorrectly
|
||||
// uses cached credentials even if we supply different ones:
|
||||
// https://bugzilla.mozilla.org/show_bug.cgi?id=654348
|
||||
var password = 'rocks';
|
||||
//var password = Meteor.uuid().replace(/[^0-9a-zA-Z]/g, '');
|
||||
Meteor.http.call(
|
||||
"GET", url_prefix()+"/login?"+password,
|
||||
{ auth: "meteor:"+password },
|
||||
|
||||
Reference in New Issue
Block a user