You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after waiting and clicking further Create, a strange invalid filter is produced in My Filters which throws as invalid
Most visible on Firefox, similiar happens also on Opera but 2x faster (but still long enough to be noticeable)
Firefox : ANIMATION + SCREENSHOOT + PROFILER
Also if wait and when glitch is gone, click Create button and visit My Filters and notice a strange filter created with another error throwed : SCREENSHOOT
I've discovered it when investigating the other issue : https://github.com/uBlockOrigin/uAssets/issues/22673 https://github.com/uBlockOrigin/uBlock-issues/issues/3141
The workaround is to paste ##... instead of *##... into Element Picker since visual effect they produce is the same, and then after pressing Create, edit "My Filters" and prepend the filter by *, a little cumersome, but on the other side such filters are not created very often, only occasionally, I'm not sure whether Create button should be active when put anything before ## in Picker.
Prerequisites
I tried to reproduce the issue when...
Description
Element Picker glitches / freezes for several seconds when pasting https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#specific-generic
*##...
filter (for example*##[src^="data:"]
or even*123
can reproduce it) :https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Too_much_recursion
Most visible on Firefox, similiar happens also on Opera but 2x faster (but still long enough to be noticeable)
Firefox : ANIMATION + SCREENSHOOT + PROFILER
CONSOLE
Also if wait and when glitch is gone, click Create button and visit My Filters and notice a strange filter created with another error throwed : SCREENSHOOT
I've discovered it when investigating the other issue :
https://github.com/uBlockOrigin/uAssets/issues/22673
https://github.com/uBlockOrigin/uBlock-issues/issues/3141
The workaround is to paste
##...
instead of*##...
into Element Picker since visual effect they produce is the same, and then after pressing Create, edit "My Filters" and prepend the filter by*
, a little cumersome, but on the other side such filters are not created very often, only occasionally, I'm not sure whether Create button should be active when put anything before##
in Picker.Given the issue can be reproduced even with
*123
I'm not sure whether it's related to https://github.com/gorhill/uBlock/wiki/Static-filter-syntax#specific-generic and the way they are injected or is just a random coincidence.A specific URL where the issue occurs.
https://github.com/404
Steps to Reproduce
(for example
*##[src^="data:"]
or even a*123
can reproduce as well)Expected behavior
No glitches / freezes / unresponsive warnings / console errors.
Actual behavior
Glitches / freezes / unresponsive warnings / console errors.
uBO version
1.56.1b0
Browser name and version
Firefox 115.8.0esr / Opera 95
Operating System and version
Win 7 SP1
The text was updated successfully, but these errors were encountered: