Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWIP: First rev attempt at removing the deprecated cosmetic filter #5099
Conversation
|
All JavaScript unit tests pass - built locally and verified nothing is being thrown via stdout. Could you check this out a little more in-depth, @antonok-edm |
|
Just one small modification and this should be good to go. I'd also raise one more possibility before fully getting rid of this - if users have added any of the old cosmetic filters, I think it should be possible to pull them out of storage, turn them into custom filters on |
...sion/extension/brave_extension/background/events/cosmeticFilterEvents.ts
Outdated
Show resolved
Hide resolved
components/brave_extension/extension/brave_extension/background/events.ts
Outdated
Show resolved
Hide resolved
|
By the way, most of the testing for the newer system is actually in C++ browser tests. I'd recommend |
44664e1
to
5300c6a
|
@antonok-edm thanks for the above feedback As for preserving the existing rules, I'm not sure if this was a well-known enough feature to warrant that kind of migration. I'll check with a few folks and circle back |
|
just for my two cents, I second @bsclifton 's idea. Unless its very simple to migrate them, i think its probably not worth the trouble :) |
|
OK going to go ahead and close this up, after discussion |
bsclifton commentedMar 30, 2020
Fixes brave/brave-browser#8914
Submitter Checklist:
npm run lint)git rebase master(if needed).git rebase -ito squash commits (if needed).Test Plan:
Bravecontext menu itemReviewer Checklist:
After-merge Checklist:
changes has landed on.