Have `getAll()` returns at least one neutered Tracker object

Related discussion:
- https://github.com/uBlockOrigin/uAssets/issues/10731#issuecomment-986031354
This commit is contained in:
Raymond Hill 2021-12-04 11:07:19 -05:00
parent ccc4c7d41f
commit 64f427d0e5
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@
return new Tracker();
};
ga.getAll = function() {
return [];
return [new Tracker()];
};
ga.remove = noopfn;
// https://github.com/uBlockOrigin/uAssets/issues/2107