gecko-dev/browser/base
Tim Huang 7717d849d2 Bug 1575788 - Fix the issue that the TP state been applied wrongly if quickly change tabs after toggling the TP switch for protections panel. r=nhnt11
This patch fixes the issue by updating the allow list as soon as the
switch been toggled. And the reload still happens after the 500ms delay.
We cache the target tab in order to reload the correct tab in case tabs
change and reload the target tab after the delay. In additon, we won't
reload the tab if is has been closed since it is totally unnecessary.

We also add a test for this.

Differential Revision: https://phabricator.services.mozilla.com/D43139

--HG--
extra : moz-landing-system : lando
2019-08-24 19:24:24 +00:00
..
content Bug 1575788 - Fix the issue that the TP state been applied wrongly if quickly change tabs after toggling the TP switch for protections panel. r=nhnt11 2019-08-24 19:24:24 +00:00
jar.mn Bug 1572809 - Change icon gradient for light and dark. r=mtigley 2019-08-09 19:38:44 +00:00
moz.build Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00