Waterfox 56.0.1 (also seen in Firefox 56.0.2)
new profile
STR:
1) add this surrogate -
Code: Select all
noscript.surrogate.foo.replacement : Object.defineProperty(window, 'innerWidth', {value:5000});
noscript.surrogate.foo.sources : @*
3) open uBlock Origin dashboard > Settings, check "I am an advanced user"
4) open the uBlock Origin popup
Expected results: popup opens normally
Actual results: popup is badly messed up, stretched out so much it's not readable.
While this can be worked around by adding moz-extension: to the surrogate's .exceptions pref, I don't think this should be happening at all. Surrogates were never intended to modify other extensions.
Giorgio, can you please make so that surrogates don't apply to moz-extension: URLs? Thanks!