mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 469062 - test_multiple_visits_around_sync.js leaks now, r=sdwilsh
This commit is contained in:
parent
17817e4af5
commit
c13d5fd1dd
@ -80,9 +80,9 @@ var observer = {
|
||||
let stmt = db.createStatement(
|
||||
"SELECT place_id " +
|
||||
"FROM moz_historyvisits " +
|
||||
"WHERE id = :visit_id"
|
||||
"WHERE id = ?1"
|
||||
);
|
||||
stmt.params["visit_id"] = this.visitId;
|
||||
stmt.bindInt64Parameter(0, this.visitId);
|
||||
do_check_true(stmt.executeStep());
|
||||
this._placeId = stmt.getInt64(0);
|
||||
this._lastVisitId = this.visitId;
|
||||
@ -99,9 +99,9 @@ var observer = {
|
||||
let stmt = db.createStatement(
|
||||
"SELECT place_id " +
|
||||
"FROM moz_historyvisits " +
|
||||
"WHERE id = :visit_id"
|
||||
"WHERE id = ?1"
|
||||
);
|
||||
stmt.params["visit_id"] = this.visitId;
|
||||
stmt.bindInt64Parameter(0, this.visitId);
|
||||
do_check_true(stmt.executeStep());
|
||||
do_check_eq(this._placeId, stmt.getInt64(0));
|
||||
stmt.finalize();
|
||||
@ -110,7 +110,7 @@ var observer = {
|
||||
// remove the observers
|
||||
os.removeObserver(this, kSyncFinished);
|
||||
hs.removeObserver(historyObserver, false);
|
||||
do_test_finished();
|
||||
finish_test();
|
||||
}
|
||||
else
|
||||
do_throw("bad runCount!");
|
||||
|
Loading…
Reference in New Issue
Block a user