commit 9e0bc1a5ccb3a0ffdbe0bf2620e54dc137a639b2
parent 329790647c47af54b1de2a568246b20ed44377f6
Author: agoloman <agoloman@mozilla.com>
Date: Tue, 25 Nov 2025 16:09:29 +0200
Revert "Bug 2002034: When matching for CompressionDictionaries pass the cache entry URI to URLPattern r=necko-reviewers,valentin" for causing xpc faliures @test_dictionary_compression_dcb.js.
This reverts commit 96b287d65272251e2392c3e63e58840ad83be220.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/netwerk/cache2/Dictionary.cpp b/netwerk/cache2/Dictionary.cpp
@@ -169,7 +169,7 @@ bool DictionaryCacheEntry::Match(const nsACString& aFilePath,
aType)) != mMatchDest.NoIndex) {
UrlpPattern pattern;
UrlpOptions options;
- const nsCString base(mURI);
+ const nsCString base("https://foo.com/"_ns);
if (!urlp_parse_pattern_from_string(&mPattern, &base, options,
&pattern)) {
DICTIONARY_LOG(