GuestPassingBy wrote:It appears that the change
... somewhere along the line has in fact completely disabled the functionality of the pref allowWhitelistUpdates
(I have not tested this to confirm, but it sure looks like it looking at the code...)
Full function, 2.6.9.30rc3:
Code: Select all
onVersionChanged: function(prev) {
let removalsOnly = !this.getPref("allowWhitelistUpdates");
// update hacks
var versions = {
"2.1.1.2rc6": {
"hotmail.com": "wlxrs.com", // required by Hotmail/Live webmail
"google.com": "googleapis.com gstatic.com", // required by most Google services and also by external resources
"addons.mozilla.org": "paypal.com paypalobjects.com" // required for the "Contribute" AMO feature not to break badly with no warning
},
"2.2.9rc2": {
"addons.mozilla.org": "persona.org"
},
"2.4.9rc2": {
"!browserid.org": "persona.org"
},
"2.5.9rc3": {
"live.com": "gfx.ms afx.ms" // fully Microsoft-controlled (no user content), now required by MS mail services
},
"2.6.5.9rc2": {
"live.com": "sfx.ms" // fully Microsoft-controlled (no user content), now required by MS mail services
},
"2.6.6rc5": {
"live.com": "outlook.com live.net" // fully Microsoft-controlled (no user content), now required by MS mail services
},
"2.6.9.4rc1": {
"vimeo.com": "vimeocdn.com" // no movie will play anymore without this
},
"2.6.9.19rc1": {
"youtube.com": "googlevideo.com" // Youtube's HTML5 video player now requires this
},
"2.6.9.22rc1": {
"prototypejs.org": "bootstrapcdn.com" // Used by many sites, mostly for styles and fonts
},
"2.6.9.27": {
"!vjs.zendcdn.net": "" // removal
},
"2.6.9.28rc2": {
"!googleapis.com": "ajax.googleapis.com" // storage.googleapis.com allows HTML files!
},
"2.6.9.30rc1": {
"!mootools.net": ""
},
"2.6.9.30rc2": {
"!cdnjs.cloudflare.com": "",
"!prototypejs.org": "",
"ajax.googleapis.com": "maps.googleapis.com"
},
};
for (let v in versions) {
if (this.versionComparator.compare(prev, v) < 0) {
let cascading = versions[v];
for (let site in cascading) {
let newSite = cascading[site].split(/\s+/);
let replace = site[0] === "!";
if (replace) site = site.substring(1);
if (this.isJSEnabled(site)) {
if (newSite[0]) {
this.jsPolicySites.remove(newSite, true, false);
this.setJSEnabled(newSite, true);
}
if (replace) this.jsPolicySites.remove(site, true, false);
}
}
}
}
},
I'm splitting this to a new thread, thank you for pointing this out.
EDIT Since this needs fixing anyway, I'd like to note
viewtopic.php?f=10&t=20965