gecko-dev/browser/base/content/test
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
..
about Bug 1572278 - Adjusts checkViewCertificate test function in browser_aboutCertError.js for the new cert viewer.r=johannh 2019-08-14 13:25:53 +00:00
alerts Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh 2019-08-15 14:32:48 +00:00
caps Bug 1501108 - [7.0] Add empty origin attribute values to fix yet another desktop test. 2019-07-21 19:06:22 +00:00
captivePortal Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
chrome
contextMenu Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
favicons Bug 1566182: Annotate mochitests that fail with Fission enabled. r=mccr8 2019-07-15 16:19:32 -07:00
forms Bug 1561882 - Make sure to dispatch input and change consistently even if the first causes us to get uninited. r=mconley,Gijs 2019-08-23 10:14:39 +00:00
fullscreen Bug 1568648 - Fixed OS string in test skip config. r=johannh 2019-07-26 08:09:29 +00:00
general Bug 1575563 - Improve Megabar input layout. r=harry 2019-08-21 19:13:15 +00:00
historySwipeAnimation Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
keyboard Backed out changeset 2bd128c84b4e (bug 1574567) for causing assertion failures on ServiceWorkerManagerService.cpp. 2019-08-19 22:00:28 +03:00
menubar Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
metaTags Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
pageActions Bug 1481055 - Improve the consistency of params of tab multiselection functions in gBrowser. r=dao 2019-07-22 17:16:40 +00:00
pageinfo Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh 2019-08-15 14:35:38 +00:00
performance Bug 1003968 - avoid Exists() calls for search plugin directories in the browser directory provider r=daleharvey,Gijs 2019-08-22 09:05:43 +00:00
permissions Bug 1570674 - Default to "Never Allow" for notification permission prompt denials. r=Ehsan 2019-08-22 16:24:56 +00:00
plugins Bug 1575420 - Replace MOZ_WIDGET_TOOLKIT value of "gtk3" with "gtk". r=froydnj 2019-08-21 12:25:42 +00:00
popupNotifications Bug 1552716 - Part 3: Update more tests. r=johannh 2019-07-30 09:13:07 +00:00
popups Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh 2019-08-15 14:35:38 +00:00
referrer Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
sanitize Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh 2019-08-15 14:32:48 +00:00
sidebar Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
siteIdentity Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh 2019-08-15 14:35:38 +00:00
siteProtections 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
static Bug 1550165 - Footer advertising links to Lockwise mobile apps. r=fluent-reviewers,Pike,MattN 2019-08-16 14:43:37 +00:00
statuspanel Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
sync Bug 1562006 - Update FxA toolbar menu for skyline r=eoger,Gijs,fluent-reviewers,flod 2019-08-02 13:55:19 +00:00
tabcrashed Bug 1559244 - Step 2: Add support for crashing sub-frame. r=mconley 2019-08-15 19:51:42 +00:00
tabPrompts Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh 2019-08-15 14:32:48 +00:00
tabs Bug 1574543 - Add and use a Fission-compatible utility method to check if a remote type is for web content. r=mconley 2019-08-19 16:56:36 +00:00
touch Bug 1561435 - Format browser/base/, a=automatic-formatting 2019-07-05 09:48:57 +02:00
trackingUI Bug 1575813 - isAllowing state of Fingerprinting and Cryptomining categories shouldn't consider enabled state. r=johannh 2019-08-24 16:37:38 +00:00
webextensions Bug 1531303 - Refactored tests using PermissionManager URI methods to use PermissionTestUtils. r=johannh 2019-08-15 14:32:48 +00:00
webrtc Bug 1531303 - Refactored tests using SitePermissions URI methods for PermissionTestUtils and principals. r=johannh 2019-08-15 14:35:38 +00:00