mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 623134: Add logging for the browser_updatessl.js intermittent failure. rs=dolske
This commit is contained in:
parent
1b63f405ae
commit
b236bc4009
@ -49,7 +49,7 @@ function add_update_test(mainURL, redirectURL, expectedStatus) {
|
||||
}
|
||||
|
||||
function run_update_tests(callback) {
|
||||
function run_next_update_test(pos) {
|
||||
function run_next_update_test() {
|
||||
if (gTests.length == 0) {
|
||||
callback();
|
||||
return;
|
||||
@ -71,7 +71,7 @@ function run_update_tests(callback) {
|
||||
AddonUpdateChecker.checkForUpdates("addon1@tests.mozilla.org", "extension",
|
||||
null, url, {
|
||||
onUpdateCheckComplete: function(updates) {
|
||||
is(updates.length, 1);
|
||||
is(updates.length, 1, "Should be the right number of results");
|
||||
is(SUCCESS, expectedStatus, message);
|
||||
info("Update test ran in " + (Date.now() - gLast) + "ms");
|
||||
run_next_update_test();
|
||||
|
@ -1,4 +1,5 @@
|
||||
function handleRequest(request, response) {
|
||||
dump("*** Received redirect for " + request.queryString + "\n");
|
||||
response.setStatusLine(request.httpVersion, 301, "Moved Permanently");
|
||||
response.setHeader("Location", request.queryString, false);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user