#641: M1677046 M1690169 update tzdata, TLDs, pins, HSTS

This commit is contained in:
Cameron Kaiser 2021-03-18 20:15:32 -07:00
parent fcfba098e5
commit c6fd33982a
6 changed files with 3300 additions and 1199 deletions

View File

@ -5385,11 +5385,19 @@ nsDocShell::Stop(uint32_t aStopFlags)
}
if (nsIWebNavigation::STOP_CONTENT & aStopFlags) {
// Stop the document loading
// Stop the document loading and animations
if (mContentViewer) {
nsCOMPtr<nsIContentViewer> cv = mContentViewer;
cv->Stop();
}
} else if (nsIWebNavigation::STOP_NETWORK & aStopFlags) {
// Stop the document loading only
if (mContentViewer) {
nsCOMPtr<nsIDocument> doc = mContentViewer->GetDocument();
if (doc) {
doc->StopDocumentLoad();
}
}
}
if (nsIWebNavigation::STOP_NETWORK & aStopFlags) {

View File

@ -304,6 +304,7 @@ windowsZones:table(nofallback){
BF{"Africa/Ouagadougou"}
CI{"Africa/Abidjan"}
GH{"Africa/Accra"}
GL{"America/Danmarkshavn"}
GM{"Africa/Banjul"}
GN{"Africa/Conakry"}
GW{"Africa/Bissau"}
@ -674,14 +675,14 @@ windowsZones:table(nofallback){
}
"US Mountain Standard Time"{
001{"America/Phoenix"}
CA{"America/Creston America/Dawson_Creek America/Fort_Nelson"}
MX{"America/Hermosillo"}
US{"America/Phoenix"}
ZZ{"Etc/GMT+7"}
}
"UTC"{
001{"Etc/GMT"}
GL{"America/Danmarkshavn"}
ZZ{"Etc/GMT Etc/UTC"}
001{"Etc/UTC"}
ZZ{"Etc/UTC Etc/GMT"}
}
"UTC+12"{
001{"Etc/GMT-12"}
@ -812,10 +813,7 @@ windowsZones:table(nofallback){
}
"Yukon Standard Time"{
001{"America/Whitehorse"}
CA{
"America/Whitehorse America/Creston America/Dawson America/Dawson_Cre"
"ek America/Fort_Nelson"
}
CA{"America/Whitehorse America/Dawson"}
}
}
}

View File

@ -63,6 +63,7 @@
#include "mozilla/Telemetry.h"
#include "mozilla/Preferences.h"
#include "mozilla/PublicSSL.h"
#include "nsNetUtil.h" // NS_CheckPortSafety
#include "nsXULAppAPI.h"
#include "nsContentUtils.h"
#include "nsDOMJSUtils.h"
@ -547,6 +548,13 @@ PeerConnectionConfiguration::Init(const RTCConfiguration& aSrc)
return NS_OK;
}
// list of known acceptable ports for webrtc
int16_t gGoodWebrtcPortList[] = {
3478, // stun or turn
5349, // stuns or turns
0, // Sentinel value: This MUST be zero
};
nsresult
PeerConnectionConfiguration::AddIceServer(const RTCIceServer &aServer)
{
@ -620,6 +628,21 @@ PeerConnectionConfiguration::AddIceServer(const RTCIceServer &aServer)
if (port == -1)
port = (isStuns || isTurns)? 5349 : 3478;
// First check the known good ports for webrtc
bool goodPort = false;
for (int i = 0; !goodPort && gGoodWebrtcPortList[i]; i++) {
if (port == gGoodWebrtcPortList[i]) {
goodPort = true;
}
}
// if not in the list of known good ports for webrtc, check
// the generic block list using NS_CheckPortSafety.
if (!goodPort) {
rv = NS_CheckPortSafety(port, nullptr);
NS_ENSURE_SUCCESS(rv, rv);
}
if (isTurn || isTurns) {
NS_ConvertUTF16toUTF8 credential(aServer.mCredential);
NS_ConvertUTF16toUTF8 username(aServer.mUsername);

View File

@ -4594,15 +4594,17 @@ gob.mx
edu.mx
net.mx
// my : http://www.mynic.net.my/
// my : http://www.mynic.my/
// Available strings: https://mynic.my/resources/domains/buying-a-domain/
my
biz.my
com.my
net.my
org.my
gov.my
edu.my
gov.my
mil.my
name.my
net.my
org.my
// mz : http://www.uem.mz/
// Submitted by registry <antonio@uem.mz>
@ -7123,7 +7125,7 @@ org.zw
// newGTLDs
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2021-02-07T16:47:40Z
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2021-03-04T15:37:38Z
// This list is auto-generated, don't edit it manually.
// aaa : 2015-02-26 American Automobile Association, Inc.
aaa
@ -7641,9 +7643,6 @@ casa
// case : 2015-09-03 CNH Industrial N.V.
case
// caseih : 2015-09-03 CNH Industrial N.V.
caseih
// cash : 2014-03-06 Binky Moon, LLC
cash
@ -9138,9 +9137,6 @@ neustar
// new : 2014-01-30 Charleston Road Registry Inc.
new
// newholland : 2015-09-03 CNH Industrial N.V.
newholland
// news : 2014-12-18 Dog Beach, LLC
news
@ -10221,7 +10217,7 @@ wanggou
// watch : 2013-11-14 Binky Moon, LLC
watch
// watches : 2014-12-22 Richemont DNS Inc.
// watches : 2014-12-22 Afilias Limited
watches
// weather : 2015-01-08 International Business Machines Corporation
@ -11003,9 +10999,11 @@ virtueeldomein.nl
cleverapps.io
// Clerk : https://www.clerk.dev
// Submitted by Colin Sidoti <colin@clerk.dev>
// Submitted by Colin Sidoti <systems@clerk.dev>
*.lcl.dev
*.lclstage.dev
*.stg.dev
*.stgstage.dev
// Clic2000 : https://clic2000.fr
// Submitted by Mathilde Blanchemanche <mathilde@clic2000.fr>
@ -11781,6 +11779,7 @@ u.channelsdvr.net
// Fastly Inc. : http://www.fastly.com/
// Submitted by Fastly Security <security@fastly.com>
edgecompute.app
fastly-terrarium.com
fastlylb.net
map.fastlylb.net
@ -11855,6 +11854,11 @@ shw.io
// Submitted by Jonathan Rudenberg <jonathan@flynn.io>
flynnhosting.net
// Framer : https://www.framer.com
// Submitted by Koen Rouwhorst <koenrh@framer.com>
framer.app
framercanvas.com
// Frederik Braun https://frederik-braun.com
// Submitted by Frederik Braun <fb@frederik-braun.com>
0e.vc
@ -11934,7 +11938,7 @@ glitch.me
lolipop.io
// GOV.UK Platform as a Service : https://www.cloud.service.gov.uk/
// Submitted by Tom Whitwell <tom.whitwell@digital.cabinet-office.gov.uk>
// Submitted by Tom Whitwell <gov-uk-paas-support@digital.cabinet-office.gov.uk>
cloudapps.digital
london.cloudapps.digital
@ -12614,8 +12618,12 @@ nfshost.com
// Northflank Ltd. : https://northflank.com/
// Submitted by Marco Suter <marco@northflank.com>
northflank.app
code.run
*.northflank.app
*.code.run
// Noticeable : https://noticeable.io
// Submitted by Laurent Pellegrino <security@noticeable.io>
noticeable.news
// Now-DNS : https://now-dns.com
// Submitted by Steve Russell <steve@now-dns.com>
@ -12998,6 +13006,10 @@ qualifioapp.com
// Submitted by Dani Biro <dani@pymet.com>
qbuser.com
// Rad Web Hosting: https://radwebhosting.com
// Submitted by Scott Claeys <s.claeys@radwebhosting.com>
cloudsite.builders
// Redstar Consultants : https://www.redstarconsultants.com/
// Submitted by Jons Slemmer <jons@redstarconsultants.com>
instantcloud.cn
@ -13097,6 +13109,7 @@ schokokeks.net
// Scottish Government: https://www.gov.scot
// Submitted by Martin Ellis <martin.ellis@gov.scot>
gov.scot
service.gov.scot
// Scry Security : http://www.scrysec.com
// Submitted by Shante Adam <shante@skyhat.io>
@ -13179,6 +13192,10 @@ small-web.org
// Submitted by Ian Streeter <ian@snowplowanalytics.com>
try-snowplow.com
// SourceHut : https://sourcehut.org
// Submitted by Drew DeVault <sir@cmpwn.com>
srht.site
// Stackhero : https://www.stackhero.io
// Submitted by Adrien Gillon <adrien+public-suffix-list@stackhero.io>
stackhero-network.com

View File

@ -1027,6 +1027,7 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
{ "it.search.yahoo.com", false, true, false, -1, &kPinset_yahoo },
{ "kr.search.yahoo.com", false, true, false, -1, &kPinset_yahoo },
{ "kz.search.yahoo.com", false, true, false, -1, &kPinset_yahoo },
{ "lens.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "li.search.yahoo.com", false, true, false, -1, &kPinset_yahoo },
{ "login.corp.google.com", true, false, false, -1, &kPinset_google_root_pems },
{ "login.yahoo.com", true, true, false, -1, &kPinset_yahoo },
@ -1160,8 +1161,8 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
{ "zh.search.yahoo.com", false, true, false, -1, &kPinset_yahoo },
};
// Pinning Preload List Length = 492;
// Pinning Preload List Length = 493;
static const int32_t kUnknownId = -1;
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1621867387124000);
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1623682168163000);

File diff suppressed because it is too large Load Diff