summaryrefslogtreecommitdiffstats
path: root/extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js')
-rw-r--r--extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js9
1 files changed, 3 insertions, 6 deletions
diff --git a/extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js b/extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
index 93b78e6478..efca3179c2 100644
--- a/extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
+++ b/extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
@@ -212,7 +212,6 @@ add_task(async function test() {
// The http:// entries under foo.com won't be inserted, as there are history entries for foo.com,
// and http://foo.com or a subdomain are never visited.
// ["http://foo.com", "A", 1, 0, 0],
- // ["http://foo.com^inBrowser=1", "A", 1, 0, 0],
//
// Because we search for port/scheme combinations under eTLD+1, we should not have http:// entries
// for subdomains of foo.com either
@@ -221,15 +220,14 @@ add_task(async function test() {
["https://foo.com", "A", 1, 0, 0],
["https://foo.com", "C", 1, 0, 0],
- ["https://foo.com^inBrowser=1", "A", 1, 0, 0],
["https://sub.foo.com", "B", 1, 0, 0],
["https://subber.sub.foo.com", "B", 1, 0, 0],
// bar.ca will have both http:// and https:// for all entries, because there are no associated history entries
["http://bar.ca", "B", 1, 0, 0],
["https://bar.ca", "B", 1, 0, 0],
- ["http://bar.ca^inBrowser=1", "A", 1, 0, 0],
- ["https://bar.ca^inBrowser=1", "A", 1, 0, 0],
+ ["http://bar.ca", "A", 1, 0, 0],
+ ["https://bar.ca", "A", 1, 0, 0],
["file:///some/path/to/file.html", "A", 1, 0, 0],
["file:///another/file.html", "A", 1, 0, 0],
@@ -237,7 +235,6 @@ add_task(async function test() {
// also have these entries
["ftp://foo.com:8000", "A", 1, 0, 0],
["ftp://foo.com:8000", "C", 1, 0, 0],
- ["ftp://foo.com:8000^inBrowser=1", "A", 1, 0, 0],
// In addition, because we search for port/scheme combinations under eTLD+1, we should have the
// following entries
@@ -253,7 +250,7 @@ add_task(async function test() {
["https://192.0.2.235", "A", 1, 0, 0],
];
- let found = expected.map(it => 0);
+ let found = expected.map(() => 0);
// Add some places to the places database
await PlacesTestUtils.addVisits(