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 upUpdate NoScript interface #2485
Conversation
ea92639
to
93bed42
|
This looks good based on what I reviewed last time in Cezar's prototype. |
- blocking a script now takes effect immeditately. scripts blocked now go to the blocked list only after second interaction address brave/brave-browser#2996
- * scripts now show intermediary state "allowed once" and "blocked once" * lists with zero items are now hidden * add ability to see grouped scripts fix brave/brave-browser#4572 fix brave/brave-browser#4570 fix brave/brave-browser#4567 address brave/brave-browser#2996
- scripts now use the same method for checking scripts blocked fix brave/brave-browser#4228
|
Rebased this and gave it a go! Works great- I confirmed all issues marked as fixed have been fixed (went through steps) Something I did notice: if you have shields open and use keyboard to navigate... once the tab focus gets to the end, it would close the shields menu (returning focus back to URL bar... then if you press tab again it would start sending tab to the page being viewed). Is this intentional? Will check out the code changes here too |
|
here we go, found it! brave/brave-browser#199 |
|
@bsclifton re #2485 (review) this is due to the blur handler I added for updating blocked/allowed lists on close, which is, in fact, a temp fix. other events such as there are other better workarounds such as using the messaging APIs to set up a port between the popup and background page (which can catch popup close), but since I didn't fall into your test case before, this would require another round of changes which will bulk even more this PR. if we all agree this is minor, I can create a tracking issue and work on that in a follow-up. |
|
SGTM |
|
++ |

cezaraugusto commentedMay 23, 2019
•
edited
address brave/brave-browser#2996
fix brave/brave-browser#4228
fix brave/brave-browser#4572
fix brave/brave-browser#4570
fix brave/brave-browser#4567
Design overview
Related to brave/brave-browser#2996, the following have been addressed:
The following have not being addressed:
Test Plan:
npm run test-unitfixhas a manual test plan that should be coveredReviewer Checklist:
After-merge Checklist:
changes has landed on.