mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-16 12:17:34 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
10
toolkit/components/places/tests/unit/test_isPageInDB.js
Normal file
10
toolkit/components/places/tests/unit/test_isPageInDB.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */
|
||||
/* vim:set ts=2 sw=2 sts=2 et: */
|
||||
|
||||
add_task(function* test_execute() {
|
||||
var good_uri = uri("http://mozilla.com");
|
||||
var bad_uri = uri("http://google.com");
|
||||
yield PlacesTestUtils.addVisits({uri: good_uri});
|
||||
do_check_true(yield PlacesTestUtils.isPageInDB(good_uri));
|
||||
do_check_false(yield PlacesTestUtils.isPageInDB(bad_uri));
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue