mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1197607, Automated hsts & hpkp updates are failing on mozilla-central, mozilla-aurora, mozilla-esr38, r=cykesiopka
This commit is contained in:
parent
c53cf6f454
commit
2b6fac45c5
@ -169,9 +169,7 @@
|
||||
"StartCom Certification Authority",
|
||||
"StartCom Certification Authority",
|
||||
"StartCom Certification Authority G2",
|
||||
"TC TrustCenter Class 2 CA II",
|
||||
"TC TrustCenter Class 3 CA II",
|
||||
"TC TrustCenter Universal CA I",
|
||||
"TC TrustCenter Universal CA III",
|
||||
// "Thawte Premium Server CA",
|
||||
"thawte Primary Root CA",
|
||||
|
@ -144,8 +144,8 @@ function download(filename) {
|
||||
}
|
||||
|
||||
function downloadAsJson(filename) {
|
||||
// we have to filter out '//' comments
|
||||
let result = download(filename).replace(/\/\/[^\n]*\n/g, "");
|
||||
// we have to filter out '//' comments, while not mangling the json
|
||||
let result = download(filename).replace(/^(\s*)?\/\/[^\n]*\n/mg, "");
|
||||
let data = null;
|
||||
try {
|
||||
data = JSON.parse(result);
|
||||
|
@ -85,8 +85,8 @@ function download() {
|
||||
throw "ERROR: could not decode data as base64 from '" + SOURCE + "': " + e;
|
||||
}
|
||||
|
||||
// we have to filter out '//' comments
|
||||
var result = resultDecoded.replace(/\/\/[^\n]*\n/g, "");
|
||||
// we have to filter out '//' comments, while not mangling the json
|
||||
var result = resultDecoded.replace(/^(\s*)?\/\/[^\n]*\n/mg, "");
|
||||
var data = null;
|
||||
try {
|
||||
data = JSON.parse(result);
|
||||
|
Loading…
Reference in New Issue
Block a user