Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
-
CI results over the last 22 days
- Manifest: toolkit/components/content-classifier/test/browser/browser.toml
"use strict";
// A nested URI is matched on its innermost URI, both its hostname and its URL.
add_task(async function test_probe_matches_innermost_uri() {
let client = getRSClient();
let records = await populateMultipleRS(client.db, [
{
id: "trackers",
name: "disconnect-tracker-base",
rules: ["||tracking.example.com^", "||example.org/tracker.js"],
},
]);
await pushEnginePrefs({ protection: "trackers" });
let tab = await openTestTab();
await syncAndWaitForLists(client, records);
ok(
);
ok(
);
ok(
);
ok(
);
BrowserTestUtils.removeTab(tab);
});