closes #647: M1724107 M1721107+backbugs M1716622 +TLDs HSTS

This commit is contained in:
Cameron Kaiser 2021-09-04 22:23:42 -07:00
parent 0f33324c85
commit a3a4a114b6
10 changed files with 3080 additions and 1309 deletions

View File

@ -1 +1 @@
45.41.3
45.41.4

View File

@ -1 +1 @@
Feature Parity Release 32 (SPR 3)
Feature Parity Release 32 (SPR 4)

View File

@ -10,4 +10,4 @@
# hardcoded milestones in the tree from these two files.
#--------------------------------------------------------
45.41.3
45.41.4

View File

@ -5244,7 +5244,7 @@ CanvasRenderingContext2D::GetImageDataArray(JSContext* aCx,
MOZ_ASSERT(aWidth && aHeight);
CheckedInt<uint32_t> len = CheckedInt<uint32_t>(aWidth) * aHeight * 4;
if (!len.isValid()) {
if (!len.isValid() || len.value() > INT32_MAX) {
return NS_ERROR_DOM_INDEX_SIZE_ERR;
}
@ -5563,7 +5563,7 @@ CreateImageData(JSContext* cx, CanvasRenderingContext2D* context,
h = 1;
CheckedInt<uint32_t> len = CheckedInt<uint32_t>(w) * h * 4;
if (!len.isValid()) {
if (!len.isValid() || len.value() > INT32_MAX) {
error.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR);
return nullptr;
}

View File

@ -8,6 +8,7 @@ timezoneTypes:table(nofallback){
cnckg{"cnsha"}
cnhrb{"cnsha"}
cnkhg{"cnurc"}
gaza{"gazastrp"}
usnavajo{"usden"}
}
}
@ -387,7 +388,7 @@ timezoneTypes:table(nofallback){
"Asia:Dubai"{"aedxb"}
"Asia:Dushanbe"{"tjdyu"}
"Asia:Famagusta"{"cyfmg"}
"Asia:Gaza"{"gaza"}
"Asia:Gaza"{"gazastrp"}
"Asia:Hebron"{"hebron"}
"Asia:Hong_Kong"{"hkhkg"}
"Asia:Hovd"{"mnhvd"}
@ -605,10 +606,168 @@ timezoneTypes:table(nofallback){
"Pacific:Truk"{"fmtkk"}
"Pacific:Wake"{"umawk"}
"Pacific:Wallis"{"wfmau"}
Acre{"acre"}
Afghanistan{"afgh"}
Africa_Central{"afce"}
Africa_Eastern{"afea"}
Africa_Southern{"afso"}
Africa_Western{"afwe"}
Alaska{"alas"}
Almaty{"alam"}
Amazon{"amaz"}
America_Central{"amce"}
America_Eastern{"amea"}
America_Mountain{"ammo"}
America_Pacific{"ampa"}
Anadyr{"anad"}
Apia{"apia"}
Aqtau{"aqta"}
Aqtobe{"aqto"}
Arabian{"arab"}
Argentina{"arge"}
Argentina_Western{"arwe"}
Armenia{"arme"}
Atlantic{"atla"}
Australia_Central{"auce"}
Australia_CentralWestern{"aucw"}
Australia_Eastern{"auea"}
Australia_Western{"auwe"}
Azerbaijan{"azer"}
Azores{"azor"}
Bangladesh{"bang"}
Bhutan{"bhut"}
Bolivia{"boli"}
Brasilia{"bras"}
Brunei{"brun"}
CST6CDT{"cst6cdt"}
Cape_Verde{"cave"}
Casey{"case"}
Chamorro{"cham"}
Chatham{"chat"}
Chile{"chil"}
China{"chin"}
Choibalsan{"choi"}
Christmas{"chri"}
Cocos{"coco"}
Colombia{"colo"}
Cook{"cook"}
Cuba{"cuba"}
Davis{"davi"}
DumontDUrville{"dumo"}
EST5EDT{"est5edt"}
East_Timor{"eati"}
Easter{"east"}
Ecuador{"ecua"}
Europe_Central{"euce"}
Europe_Eastern{"euea"}
Europe_Further_Eastern{"eufe"}
Europe_Western{"euwe"}
Falkland{"falk"}
Fiji{"fiji"}
French_Guiana{"frgu"}
French_Southern{"frso"}
GMT{"mgmt"}
Galapagos{"gala"}
Gambier{"gamb"}
Georgia{"geor"}
Gilbert_Islands{"giis"}
Greenland_Eastern{"grea"}
Greenland_Western{"grwe"}
Guam{"guam"}
Gulf{"gulf"}
Guyana{"guya"}
Hawaii_Aleutian{"haal"}
Hong_Kong{"hoko"}
Hovd{"hovd"}
India{"indi"}
Indian_Ocean{"inoc"}
Indochina{"indo"}
Indonesia_Central{"ince"}
Indonesia_Eastern{"inea"}
Indonesia_Western{"inwe"}
Iran{"iran"}
Irkutsk{"irku"}
Israel{"isra"}
Japan{"japa"}
Kamchatka{"kamc"}
Kazakhstan_Eastern{"kaea"}
Kazakhstan_Western{"kawe"}
Korea{"kore"}
Kosrae{"kosr"}
Krasnoyarsk{"kras"}
Kyrgystan{"kyrg"}
Lanka{"lank"}
Line_Islands{"liis"}
Lord_Howe{"loho"}
MST7MDT{"mst7mdt"}
Macau{"maca"}
Macquarie{"macq"}
Magadan{"maga"}
Malaysia{"mala"}
Maldives{"mald"}
Marquesas{"marq"}
Marshall_Islands{"mais"}
Mauritius{"maur"}
Mawson{"maws"}
Mexico_Northwest{"meno"}
Mexico_Pacific{"mepa"}
Mongolia{"mong"}
Moscow{"mosc"}
Myanmar{"myan"}
Nauru{"naur"}
Nepal{"nepa"}
New_Caledonia{"neca"}
New_Zealand{"neze"}
Newfoundland{"newf"}
Niue{"niue"}
Norfolk{"norf"}
Noronha{"noro"}
North_Mariana{"noma"}
Novosibirsk{"novo"}
Omsk{"omsk"}
PST8PDT{"pst8pdt"}
Pakistan{"paki"}
Palau{"pala"}
Papua_New_Guinea{"pang"}
Paraguay{"para"}
Peru{"peru"}
Philippines{"phil"}
Phoenix_Islands{"phis"}
Pierre_Miquelon{"pimi"}
Pitcairn{"pitc"}
Ponape{"pona"}
Pyongyang{"pyon"}
Qyzylorda{"qyzy"}
Reunion{"reun"}
Rothera{"roth"}
Sakhalin{"sakh"}
Samara{"sama"}
Samoa{"samo"}
Seychelles{"seyc"}
Singapore{"sing"}
Solomon{"solo"}
South_Georgia{"soge"}
Suriname{"suri"}
Syowa{"syow"}
Tahiti{"tahi"}
Taipei{"taip"}
Tajikistan{"taji"}
Tokelau{"toke"}
Tonga{"tong"}
Truk{"truk"}
Turkmenistan{"turk"}
Tuvalu{"tuva"}
Uruguay{"urug"}
Uzbekistan{"uzbe"}
Vanuatu{"vanu"}
Venezuela{"vene"}
Vladivostok{"vlad"}
Volgograd{"volg"}
Vostok{"vost"}
Wake{"wake"}
Wallis{"wall"}
Yakutsk{"yaku"}
Yekaterinburg{"yeka"}
}
}
}

View File

@ -1219,7 +1219,12 @@ pref("network.protocol-handler.external.hcp", false);
pref("network.protocol-handler.external.vbscript", false);
pref("network.protocol-handler.external.javascript", false);
pref("network.protocol-handler.external.data", false);
pref("network.protocol-handler.external.ie.http", false);
pref("network.protocol-handler.external.iehistory", false);
pref("network.protocol-handler.external.ierss", false);
pref("network.protocol-handler.external.mk", false);
pref("network.protocol-handler.external.ms-help", false);
pref("network.protocol-handler.external.res", false);
pref("network.protocol-handler.external.shell", false);
pref("network.protocol-handler.external.vnd.ms.radio", false);
#ifdef XP_MACOSX
@ -1232,9 +1237,11 @@ pref("network.protocol-handler.external.moz-icon", false);
// Don't allow external protocol handlers for common typos
pref("network.protocol-handler.external.ttp", false); // http
pref("network.protocol-handler.external.htp", false); // http
pref("network.protocol-handler.external.ttps", false); // https
pref("network.protocol-handler.external.tps", false); // https
pref("network.protocol-handler.external.ps", false); // https
pref("network.protocol-handler.external.htps", false); // https
pref("network.protocol-handler.external.ile", false); // file
pref("network.protocol-handler.external.le", false); // file

View File

@ -6714,9 +6714,10 @@ mil.vc
edu.vc
// ve : https://registro.nic.ve/
// Submitted by registry
// Submitted by registry nic@nic.ve and nicve@conatel.gob.ve
ve
arts.ve
bib.ve
co.ve
com.ve
e12.ve
@ -6728,7 +6729,9 @@ info.ve
int.ve
mil.ve
net.ve
nom.ve
org.ve
rar.ve
rec.ve
store.ve
tec.ve
@ -7125,7 +7128,7 @@ org.zw
// newGTLDs
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2021-07-24T15:13:29Z
// List of new gTLDs imported from https://www.icann.org/resources/registries/gtlds/v2/gtlds.json on 2021-08-19T15:13:52Z
// This list is auto-generated, don't edit it manually.
// aaa : 2015-02-26 American Automobile Association, Inc.
aaa
@ -8264,7 +8267,7 @@ ftr
// fujitsu : 2015-07-30 Fujitsu Limited
fujitsu
// fun : 2016-01-14 DotSpace Inc.
// fun : 2016-01-14 Radix FZC
fun
// fund : 2014-03-20 Binky Moon, LLC
@ -8522,7 +8525,7 @@ horse
// hospital : 2016-10-20 Binky Moon, LLC
hospital
// host : 2014-04-17 DotHost Inc.
// host : 2014-04-17 Radix FZC
host
// hosting : 2014-05-29 UNR Corp.
@ -8717,6 +8720,9 @@ kfh
// kia : 2015-07-09 KIA MOTORS CORPORATION
kia
// kids : 2021-08-13 DotKids Foundation Limited
kids
// kim : 2013-09-23 Afilias Limited
kim
@ -9239,7 +9245,7 @@ ong
// onl : 2013-09-16 iRegistry GmbH
onl
// online : 2015-01-15 DotOnline Inc.
// online : 2015-01-15 Radix FZC
online
// ooo : 2014-01-09 INFIBEAM AVENUES LIMITED
@ -9395,7 +9401,7 @@ pramerica
// praxi : 2013-12-05 Praxi S.p.A.
praxi
// press : 2014-04-03 DotPress Inc.
// press : 2014-04-03 Radix FZC
press
// prime : 2015-06-25 Amazon Registry Services, Inc.
@ -9758,7 +9764,7 @@ sina
// singles : 2013-08-27 Binky Moon, LLC
singles
// site : 2015-01-15 DotSite Inc.
// site : 2015-01-15 Radix FZC
site
// ski : 2015-04-09 Afilias Limited
@ -9818,7 +9824,7 @@ soy
// spa : 2019-09-19 Asia Spa and Wellness Promotion Council Limited
spa
// space : 2014-04-03 DotSpace Inc.
// space : 2014-04-03 Radix FZC
space
// sport : 2017-11-16 Global Association of International Sports Federations (GAISF)
@ -9857,7 +9863,7 @@ stockholm
// storage : 2014-12-22 XYZ.COM LLC
storage
// store : 2015-04-09 DotStore Inc.
// store : 2015-04-09 Radix FZC
store
// stream : 2016-01-08 dot Stream Limited
@ -9947,7 +9953,7 @@ tdk
// team : 2015-03-05 Binky Moon, LLC
team
// tech : 2015-01-30 Personals TLD Inc.
// tech : 2015-01-30 Radix FZC
tech
// technology : 2013-09-13 Binky Moon, LLC
@ -10091,7 +10097,7 @@ unicom
// university : 2014-03-06 Binky Moon, LLC
university
// uno : 2013-09-11 DotSite Inc.
// uno : 2013-09-11 Radix FZC
uno
// uol : 2014-05-01 UBN INTERNET LTDA.
@ -10220,7 +10226,7 @@ webcam
// weber : 2015-06-04 Saint-Gobain Weber SA
weber
// website : 2014-04-03 DotWebsite Inc.
// website : 2014-04-03 Radix FZC
website
// wedding : 2014-04-24 Registry Services, LLC
@ -10848,6 +10854,10 @@ onavstack.net
*.awdev.ca
*.advisor.ws
// AZ.pl sp. z.o.o: https://az.pl
// Submited by Krzysztof Wolski <krzysztof.wolski@home.eu>
ecommerce-shop.pl
// b-data GmbH : https://www.b-data.io
// Submitted by Olivier Benz <olivier.benz@b-data.ch>
b-data.io
@ -11037,6 +11047,8 @@ cleverapps.io
// Clerk : https://www.clerk.dev
// Submitted by Colin Sidoti <systems@clerk.dev>
clerk.app
clerkstage.app
*.lcl.dev
*.lclstage.dev
*.stg.dev
@ -11626,6 +11638,12 @@ blogsite.xyz
// Submitted by Dominik Menke <dom@digineo.de>
dynv6.net
// Ellucian : https://ellucian.com
// Submitted by Josue Colon <CloudOps-Network@ellucian.com>
elluciancrmadvance.com
elluciancrmadvise.com
elluciancrmrecruit.com
// E4YOU spol. s.r.o. : https://e4you.cz/
// Submitted by Vladimir Dudr <info@e4you.cz>
e4.cz
@ -11635,6 +11653,11 @@ e4.cz
eero.online
eero-stage.online
// Elementor : Elementor Ltd.
// Submitted by Anton Barkan <antonb@elementor.com>
elementor.cloud
elementor.cool
// En root‽ : https://en-root.org
// Submitted by Emmanuel Raviart <emmanuel@raviart.com>
en-root.fr
@ -12183,6 +12206,10 @@ ravendb.me
development.run
ravendb.run
// home.pl S.A.: https://home.pl
// Submited by Krzysztof Wolski <krzysztof.wolski@home.eu>
homesklep.pl
// Hong Kong Productivity Council: https://www.hkpc.org/
// Submitted by SECaaS Team <summchan@hkpc.org>
secaas.hk
@ -12870,60 +12897,6 @@ pcloud.host
// Submitted by Matthew Brown <mattbrown@nyc.mn>
nyc.mn
// NymNom : https://nymnom.com/
// Submitted by NymNom <psl@nymnom.com>
nom.ae
nom.af
nom.ai
nom.al
nym.by
nom.bz
nym.bz
nom.cl
nym.ec
nom.gd
nom.ge
nom.gl
nym.gr
nom.gt
nym.gy
nym.hk
nom.hn
nym.ie
nom.im
nom.ke
nym.kz
nym.la
nym.lc
nom.li
nym.li
nym.lt
nym.lu
nom.lv
nym.me
nom.mk
nym.mn
nym.mx
nom.nu
nym.nz
nym.pe
nym.pt
nom.pw
nom.qa
nym.ro
nom.rs
nom.si
nym.sk
nom.st
nym.su
nym.sx
nom.tj
nym.tw
nom.ug
nom.uy
nom.vc
nom.vg
// Observable, Inc. : https://observablehq.com
// Submitted by Mike Bostock <dns@observablehq.com>
static.observableusercontent.com
@ -13351,6 +13324,10 @@ beta.bounty-full.com
// Submitted by Aral Balkan <aral@small-tech.org>
small-web.org
// Smoove.io : https://www.smoove.io/
// Submitted by Dan Kozak <dan@smoove.io>
vp4.me
// Snowplow Analytics : https://snowplowanalytics.com/
// Submitted by Ian Streeter <ian@snowplowanalytics.com>
try-snowplow.com

View File

@ -1167,4 +1167,4 @@ static const TransportSecurityPreload kPublicKeyPinningPreloadList[] = {
static const int32_t kUnknownId = -1;
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1636368221287000);
static const PRTime kPreloadPKPinsExpirationTime = INT64_C(1638787606683000);

File diff suppressed because it is too large Load Diff

View File

@ -169,6 +169,7 @@ public:
void operator delete(void* aPtr)
{
sAllocator->Free(aPtr);
sAllocatorUsers--;
DeleteAllocatorIfNeeded();
}
@ -190,7 +191,6 @@ private:
MOZ_ASSERT(!sCanDeleteAllocator || sAllocatorUsers > 0,
"This will result in us attempting to deallocate the nsTimerEvent allocator twice");
sAllocatorUsers--;
}
RefPtr<nsTimerImpl> mTimer;