comment:19:ticket:23718 seems to indicate that our defense against fingerprinting users by probing for re/- and chrome://-URIs might be the culprit: a workaround would be to set extensions.torbutton.resource_and_chrome_uri_fingerprinting to true.
Something with whitelist, but could be unrelated.
As our #8725 (moved) is more restrictive than Mozilla's implementation (landed on FF57), what is the right direction to go: enforce & upstream (and fix NoScript) or relax & backport?
: a workaround would be to set extensions.torbutton.resource_and_chrome_uri_fingerprinting to true.
I'm implementing this in next dev build, out in minutes, and it apparently works, with exposure minimized to the quasy-synchronous (local filesystem) load/parsing.
You can preview it by running this code in a browser-scoped Scratchpad window with any NoScript 5.1.x installed:
{ let xhr = new XMLHttpRequest(); xhr.open("GET", "chrome://noscript/content/noscriptOverlayFx57.xul"); try { // work around to resolve overlay's XML entities despite the Tor Browser let TOR_PREF = "extensions.torbutton.resource_and_chrome_uri_fingerprinting"; let torPrefValue = Services.prefs.getBoolPref(TOR_PREF); let restorePref = () => Services.prefs.setBoolPref(TOR_PREF, torPrefValue); for (let e of ["progress", "loadend"]) { // restore as early as possible (almost sync) xhr.addEventListener(e, restorePref); } xhr.addEventListener("loadstart", () => { Services.prefs.setBoolPref(TOR_PREF, true); }); } catch (e) { // no pref value, it doesn't seem to be a Tor Browser :) } xhr.addEventListener("load", () => { alert(xhr.responseXML.getElementById("noscript-tbb")); }); xhr.send()}
Please let me know if it needs to go in the release channel or a different approach is preferred, thanks.
Thanks. I think we should wait a bit until it hits your release channel until we figured out what is causing #23724 (moved). Could you have a look at that one, too? It seems to me there are things broken in vanilla Firefox 52 ESR as well when the update happens. I am not sure yet whether it is a bad as in Tor Browser but there are similar error messages like
that make me nervous. For instance one visible thing is that the NoScript icon gets suddenly moved to the right side of the toolbar, a thing we can observe in Tor Browser as well.
??? How did you test that?
For correct testing it's necessary to do a restartless update of the 5.1.2rc1 (with workaround) to something newer.
Update: Oh, wait. You're testing another bug...
??? How did you test that?
For correct testing it's necessary to do a restartless update of the 5.1.2rc1 (with workaround) to something newer.
Update: Oh, wait. You're testing another bug...
Trying to figure out whether entities in .dtd files get properly resolved does not necessarily need to get tested via an update I think. I guess you mean #23724 (moved).