зеркало из https://github.com/mozilla/pjs.git
Fix test failure due to merge. _views are no longer around on the places branch.
This commit is contained in:
Родитель
af6792747b
Коммит
6c06c92777
|
@ -70,8 +70,8 @@ function getTransitionForUrl(aUrl)
|
|||
let dbConn = PlacesUtils.history
|
||||
.QueryInterface(Ci.nsPIPlacesDatabase).DBConnection;
|
||||
let stmt = dbConn.createStatement(
|
||||
"SELECT visit_type FROM moz_historyvisits_view WHERE place_id = " +
|
||||
"(SELECT id FROM moz_places_view WHERE url = :page_url)");
|
||||
"SELECT visit_type FROM moz_historyvisits WHERE place_id = " +
|
||||
"(SELECT id FROM moz_places WHERE url = :page_url)");
|
||||
stmt.params.page_url = aUrl;
|
||||
try {
|
||||
ok(stmt.executeStep(), "Found the visit in the database");
|
||||
|
|
Загрузка…
Ссылка в новой задаче