mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 496782 - browser_sanitizeDialog.js calls finish() twice; r=gavin.sharp
This commit is contained in:
parent
770b7d9955
commit
cac3691274
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user