commit 77f7dd4fffa465576436d9c077247afd072ad23e
parent 84185c2d1f8af3ff38242bdbc9168f17f79f207b
Author: Randell Jesup <rjesup@mozilla.com>
Date: Wed, 26 Nov 2025 23:01:34 +0200
Bug 2002034: Fix handling of paths for compression dictionaries in retrieval test r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D274173
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/netwerk/test/unit/test_dictionary_retrieval.js b/netwerk/test/unit/test_dictionary_retrieval.js
@@ -207,7 +207,7 @@ async function setupRetrievalTestServer() {
);
await server.registerPathHandler(
- "/dict/wildcard",
+ "/wildcard",
function (request, response) {
const RETRIEVAL_TEST_DICTIONARIES = {
wildcard: {
@@ -227,7 +227,7 @@ async function setupRetrievalTestServer() {
}
);
- await server.registerPathHandler("/dict/js", function (request, response) {
+ await server.registerPathHandler("/js", function (request, response) {
const RETRIEVAL_TEST_DICTIONARIES = {
js_files: {
id: "js-dict",
@@ -292,8 +292,8 @@ add_task(async function test_setup_dictionaries() {
const dictPaths = [
"/dict/api-v1",
"/dict/api-generic",
- "/dict/wildcard",
- "/dict/js",
+ "/wildcard",
+ "/js",
];
for (let path of dictPaths) {