Prerequisites
I tried to reproduce the issue when...
Description
Hey,
Thanks for maintaining uBlock Origin! Debugging why the filter list page doesn't render at all, I discovered that it tries to render a listDetails item whose parent is null, thereby throwing on line 249 in 3p-filters.js:
https://github.com/gorhill/uBlock/blob/359cb070eb220186afdc7e29570cb447071831ba/src/js/3p-filters.js#L249
It happens currently with the "AdGuard – Social Widgets" list, but given the defensive coding attempt, I'm guessing uBlock Origin intended to work with items lacking parents. It's just that the strict comparison to undefined doesn't catch the null case and therefore still tries to invoke listDetails.parent.split.
A specific URL where the issue occurs.
Steps to Reproduce
Expected behavior
Actual behavior
uBO version
1.68.0
Browser name and version
Firefox v147.0.1
Operating System and version
Linux
Prerequisites
I tried to reproduce the issue when...
Description
Hey,
Thanks for maintaining uBlock Origin! Debugging why the filter list page doesn't render at all, I discovered that it tries to render a
listDetailsitem whose parent isnull, thereby throwing on line 249 in3p-filters.js:https://github.com/gorhill/uBlock/blob/359cb070eb220186afdc7e29570cb447071831ba/src/js/3p-filters.js#L249
It happens currently with the "AdGuard – Social Widgets" list, but given the defensive coding attempt, I'm guessing uBlock Origin intended to work with items lacking parents. It's just that the strict comparison to
undefineddoesn't catch thenullcase and therefore still tries to invokelistDetails.parent.split.A specific URL where the issue occurs.
http://localhostSteps to Reproduce
Expected behavior
Actual behavior
uBO version
1.68.0
Browser name and version
Firefox v147.0.1
Operating System and version
Linux