gecko-dev/netwerk
Valentin Gosu 04851f6503 Bug 1577574 - Only assert that string is propely lowercased in AlternateServices::SchemeIsHTTPS r=kershaw
According to the comment above, SchemeIsHTTPS should return an error if the
input is neither http or https.
But we don't assert that the string is not lowercased (as the comment says),
instead we assert if it's not http or https, meaning in debug mode the
function would always panic for such an input.
This patch changes the MOZ_ASSERT to match the comment and only assert if
for some reason the input scheme is not lowercase.

Differential Revision: https://phabricator.services.mozilla.com/D46279

--HG--
extra : moz-landing-system : lando
2019-09-24 17:54:54 +00:00
..
base Bug 1578991 - Skip Calling Sniffers in Case of NoSniff and JSON Mime r=ckerschb,dragana 2019-09-24 12:26:22 +00:00
build Bug 1561944 - Implement nsINetworkLinkService.networkID for Android r=valentin 2019-09-19 13:47:46 +00:00
cache Backed out changeset 3af4309ffce7 (bug 1237782) for wpt assertions/leaks. CLOSED TREE 2019-09-17 01:03:46 +03:00
cache2 Bug 1577354 - Assertion failure: decoded.CountChar('\t') == 2, at /netwerk/cache2/CacheFileContextEvictor.cpp:409, r=mayhemer 2019-09-02 17:26:08 +00:00
cookie Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan 2019-09-24 17:13:43 +00:00
dns No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM 2019-09-23 13:09:04 +00:00
ipc Bug 1575744 - P7. Promisify SendCrossProcessRedirect to avoid needing PHttpChannel to get a response. r=mayhemer 2019-09-21 11:14:49 +00:00
locales Bug 1581692 - Remove unused .properties from netwerk. CLOSED TREE 2019-09-18 19:38:50 +03:00
mime Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden 2019-09-18 08:26:34 +00:00
protocol Bug 1577574 - Only assert that string is propely lowercased in AlternateServices::SchemeIsHTTPS r=kershaw 2019-09-24 17:54:54 +00:00
sctp Bug 1581023 - Expand DataChannel logging capabilities - r=bwc 2019-09-19 14:50:57 +00:00
socket Bug 1580557 - Remove nsISSLSocketControl.serverRootCertIsBuiltInRoot. r=keeler 2019-09-16 18:22:20 +00:00
srtp
streamconv Bug 1579179 - Use nsIChannel for noSniff checks r=ckerschb 2019-09-12 14:22:21 +03:00
system Bug 1561944 - Implement nsINetworkLinkService.networkID for Android r=valentin 2019-09-19 13:47:46 +00:00
test Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan 2019-09-24 17:13:43 +00:00
url-classifier Bug 1581160 - Part 2: Do not prevent the local database from being checked in UrlClassifierSkipListService.jsm; r=johannh,leplatrem 2019-09-16 21:48:26 +00:00
wifi Bug 1458624 - Firefox on Linux now sends signal strength to geolocation API as RSSI dBm instead of a percentage. r=cpeterson 2019-07-17 19:11:19 +00:00
moz.build
necko-config.h.in