Bug 496782 - browser_sanitizeDialog.js calls finish() twice; r=gavin.sharp

This commit is contained in:
Drew Willcoxon 2009-06-09 16:12:35 +02:00
parent 770b7d9955
commit cac3691274

View File

@ -282,11 +282,11 @@ var gAllTests = [
},
/**
* Ensures that toggling details persists across dialog openings.
* These next two tests together ensure that toggling details persists
* across dialog openings.
*/
function () {
let wh = new WindowHelper();
wh.onload = function () {
// Show details
this.toggleDetails();
@ -294,7 +294,9 @@ var gAllTests = [
this.cancelDialog();
};
wh.open();
},
function () {
let wh = new WindowHelper();
wh.onload = function () {
// Details should have remained open
this.checkDetails(true);